diff --git a/package.json b/package.json index 6a77921..cf1e951 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@adobe/aio-cli-plugin-api-mesh", - "version": "5.6.5", + "version": "5.6.6-beta.1", "description": "Adobe I/O CLI plugin to develop and manage API mesh sources", "keywords": [ "oclif-plugin" @@ -38,7 +38,7 @@ "version": "oclif-dev readme && git add README.md" }, "dependencies": { - "@adobe-apimesh/mesh-builder": "^2.4.0", + "@adobe-apimesh/mesh-builder": "^2.4.1", "@adobe/aio-cli-lib-console": "^5.0.0", "@adobe/aio-lib-core-config": "^5.0.0", "@adobe/aio-lib-core-logging": "^3.0.0", diff --git a/src/utils.js b/src/utils.js index 6890b72..3424e1f 100644 --- a/src/utils.js +++ b/src/utils.js @@ -187,6 +187,11 @@ function getFilesInMeshConfig(data, meshConfigName) { if (source.handler.openapi && !fileURLRegex.test(source.handler.openapi.source)) { filesList.push(source.handler.openapi.source); } + + // Graphql handler + if (source.handler.graphql?.source && !fileURLRegex.test(source.handler.graphql.source)) { + filesList.push(source.handler.graphql.source); + } }); // Additional Resolvers diff --git a/yarn.lock b/yarn.lock index 08124cc..af33208 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7,10 +7,10 @@ resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== -"@adobe-apimesh/mesh-builder@^2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@adobe-apimesh/mesh-builder/-/mesh-builder-2.4.0.tgz#35fc8ae0ecd5617cfdb585cb923bf0112ad4d56f" - integrity sha512-MnvojKskFRY/wVy1Sh5xVOTgA4c3pi8jU9CtihljjrVNqp0DxkKhcCGvD5UJf5gnqOCnyFcEhDQ6CObZP8tEAw== +"@adobe-apimesh/mesh-builder@^2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@adobe-apimesh/mesh-builder/-/mesh-builder-2.4.1.tgz#07429a90777bdd44292fe75b9f619f538249e490" + integrity sha512-286JqaZUfc2bOjR59Qp8ZHU+di/XoKS5QME3bwj8UoyDo6obw6g4L6uuiZqCwTnlHkucHdj2JgOWvvRNfgu04A== dependencies: "@fastify/request-context" "^4.1.0" eslint "^8.39.0"