i tried to extend a graphql type generated by strapi with a field from an other service but i found no documentation. For example i tried to add the @key directive.
@key(fields: "id")
Strapi works with the apollo gateway so the apollo federation specification are implemented but how i extend the generated graphql schema?
Hey Uniiq, I’m about to embark on setting up strapi with apollo federation, so please take my answer with a pinch of salt, as I’m still in the tinkering phase.
After you have set up strapi as an implementing service you can introduce your own directives by customising the schema. Checkout the documentation here:GraphQL - Strapi Developer Documentation