graphql-orchestrator-java icon indicating copy to clipboard operation
graphql-orchestrator-java copied to clipboard

Validate which directives can co-exist

Open CNAChino opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe.

No, just an enhancement on validation

Describe the solution you'd like

I'm thinking this should be done on pre-merge. A map of directives it is not allowed to co exist. Example:

@resolver -> @external, @requires, @provides, ...

CNAChino avatar Jul 04 '22 00:07 CNAChino

Whenever there is the following pair of directives that exist together, throw error

resolver and external resolver and provides resolver and requires resolver and provides

ashpak-shaikh avatar Oct 24 '23 06:10 ashpak-shaikh

Hi Ashpak, I will work on this issue. Please assign it to me.

vijayakinbox avatar Oct 24 '23 06:10 vijayakinbox