You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We have a two schemas with the same custom directives defined in each schema. If we point GQL Mesh only to one datasource which exposing GQL Schema, custom directives are resolved properly and we can submit queries using those directives
After we introduce second datasource in .meshrc.yml file custom directives disappear and we can't use them. They are not suggested in GraphQL playground UI.
To Reproduce
Steps to reproduce the behavior:
Create custom directive in 2 different schemas and expose them to GQL Mesh via .meshrc.yml file
Expected behavior
Custom directives should be resolved with more then one datasource defined in .meshrc.yml
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Describe the bug
We have a two schemas with the same custom directives defined in each schema. If we point GQL Mesh only to one datasource which exposing GQL Schema, custom directives are resolved properly and we can submit queries using those directives
After we introduce second datasource in .meshrc.yml file custom directives disappear and we can't use them. They are not suggested in GraphQL playground UI.
To Reproduce
Steps to reproduce the behavior:
Create custom directive in 2 different schemas and expose them to GQL Mesh via .meshrc.yml file
Expected behavior
Custom directives should be resolved with more then one datasource defined in .meshrc.yml
Environment:
"@graphql-mesh/cli": "0.48.0",
"@graphql-mesh/graphql": "0.20.12",
"@graphql-mesh/runtime": "0.28.0",
"@graphql-mesh/transform-rename": "0.11.8",
"@graphql-mesh/transform-type-merging": "0.3.8",
"graphql-scalars": "1.14.1",
"graphql": "16.2.0"
}
Additional context
Beta Was this translation helpful? Give feedback.
All reactions