Exposing directives on the supergraph (Apollo Federation)
By default (most)
schema directives are hidden from the supergraph schema .
If you need to expose a directive to the supergraph, you can use the
parameter on the
@strawberry.federation.schema_directives decorator, here’s an
This will create a
cacheControl directive and it will also use
on the schema to make sure it is included in the supergraph schema.