Closed
Description
I'm using the combination of these 3 imports with the latest versions to generate the Schema from a PostgreSQL database:
@graphql-mesh/cli "^0.82.32",
@graphql-mesh/postgraphile "^0.22.22",
@graphql-mesh/transform-filter-schema "^0.15.25"
And trying to filter some schema operations by adding this to my meshrc.yaml
:
transforms:
- filterSchema:
mode: bare
filters:
- Mutation.!*
- Type.!{knex_migrations, knex_migrations_lock}
- Query.!{count_knex_migrations, count_knex_migrations_lock}
But when I try to generate the Schema I receive this error:
💡 🕸️ Mesh Cleaning existing artifacts
💡 🕸️ Mesh Reading the configuration
💡 🕸️ Mesh Generating the unified schema
💡 🕸️ Mesh Generating artifacts
💡 🕸️ Mesh Generating index file in TypeScript
💥 🕸️ Mesh TypeError: Cannot read properties of undefined (reading 'get')
at generateTsArtifacts (******\node_modules\@graphql-mesh\cli\cjs\commands\ts-artifacts.js:114:70)
at Object.handler (*******\node_modules\@graphql-mesh\cli\cjs\index.js:324:61)
In another project that I'm using Mesh to generate a schema based on a MySQL database with the following dependencies:
@graphql-mesh/cli "^0.82.6",
@graphql-mesh/mysql "^0.19.2"
@graphql-mesh/transform-filter-schema "^0.15.5"
So it makes me thing that there is some incompatibilities with between there libs:
- @graphql-mesh/cli
- @graphql-mesh/postgraphile
- @graphql-mesh/transform-filter-schema
Because even using the combination of several older version, the same error is occurring.
Metadata
Metadata
Assignees
Labels
No labels