How does a custom directive implemented in the case of federated schema?

I know how a custom directive is implemented in the case of a monolith schema. But I have not seen any documentation for the federated schema. Can any of you help me with that?

Hello! Please see the docs for custom directives in subgraph schemas. Note that as the documentation indicates, custom directives in subgraphs are stripped from your composed supergraph schema.