graph-gophers / graphql-go

GraphQL server with a focus on ease of use
BSD 2-Clause "Simplified" License
4.65k stars 492 forks source link

Remove _service from the introspection and it should be opt-in #600

Closed pavelnikolov closed 1 year ago

pavelnikolov commented 1 year ago

Currently the _service field is added as an introspection field for every user of the library. This works fine, however, it is used by a small subset of users of this library who use Apollo Federation. The issue will be considered done, when the _service field is deleted. An example of apollo-federation-compatible subgraph will be added which shows how to add this yourself if you need it.