- Notifications
You must be signed in to change notification settings - Fork 223
Description
| Q | A |
|---|---|
| Bug report? | yes |
| Feature request? | no |
| BC Break report? | no |
| RFC? | no |
| Version/Branch | 0.13.0 |
Overblog\GraphQLBundle\DependencyInjection\Compiler\ConfigParserPass->checkTypesDuplication() disallows splitting queries and mutations into several files.
Imagine I have quite a lot of queries and mutations. The thing that would quite help me manage that is splitting: queries and mutations for x are in types/x.yaml looking something like:
Query: type: object config: description: "Public queries" fields: listXs: ... showSingleX: ...However I'm currently unable to do so since the parser pass does not merge the configs (and maybe check for conflicts there), but instead treats overlapping keys as conflicts.
I see #169 has been opened but looks like it has gotten irrelevant to its author.
What I also would like to add is that typically Symfony treats same keys in config files as mergeable. E.g. services_test.yaml does not conflict with services.yaml, it just gets merged.