graphql-platform
graphql-platform copied to clipboard
Support for community directives - `tag` for Apollo contracts
Is your feature request related to a problem?
There are some published directives that specific providers might support - in this case, looking at the tag directive to support Apollo Contracts
Opening this issue to see whether there's support for including general directives in this library? It isn't a GraphQL standard (that I'm aware of) so is kind of provider specific. But equally can be related to Apollo Federation.
The solution you'd like
I have a local implementation, but would like to submit it as a PR to be available in the HotChocolate library if maintainers are open to this happening. And equally guidance on which project/namespace it'd sit.
Product
Hot Chocolate
I will read into the tag directive a bit more but I am more skeptical for inclusion of it. There is a spec proposal which will introduce functionality very much like that and we will wait for that I think.
The @tag directive is now part of federation 2, so seems like something a bit more "core" than community (see table of feature support https://www.apollographql.com/docs/federation/building-supergraphs/supported-subgraphs)
I'll see if I can submit a PR for consideration and then something tangible to review
This is now implemented and available in 13.6