gqlgen icon indicating copy to clipboard operation
gqlgen copied to clipboard

add support for federation 2.9 directives

Open grzn opened this issue 1 year ago • 4 comments

What happened?

Currently when the schema uses any of the new directives, gqlgen errors:

Undefined directive listSize.

What did you expect?

Add support for the new directives

grzn avatar Nov 04 '24 12:11 grzn

PRs are welcome!

StevenACoffman avatar Nov 07 '24 16:11 StevenACoffman

Just a suggestion to avoid such issues: add a config property to provide a set of schema files that must be "injected" by gqlgen, instead of hard-coding the Apollo Federation schema inside gqlgen.

cyrilc-pro avatar Nov 27 '24 09:11 cyrilc-pro

@cyrilc-pro Great suggestion! Please make a PR!

StevenACoffman avatar Nov 27 '24 13:11 StevenACoffman

I'd be glad to, if I can find some time for it :/

cyrilc-pro avatar Nov 28 '24 15:11 cyrilc-pro