# Directive data not available in the composed supergraph

**URL:** <https://community.apollographql.com/t/directive-data-not-available-in-the-composed-supergraph/8004>\
**Category:** Schema Design\
**Tags:** server, federation\
**Created:** [December 13, 2024, 2:20am UTC](https://community.apollographql.com/t/directive-data-not-available-in-the-composed-supergraph/8004 "2024-12-13T02:20:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SlackJaw74](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/slackjaw74/32/5413_2.png) [@SlackJaw74](https://community.apollographql.com/u/SlackJaw74)\
**Post date:** [December 13, 2024, 2:20am UTC](https://community.apollographql.com/t/directive-data-not-available-in-the-composed-supergraph/8004/1 "2024-12-13T02:20:23Z")

</div>

I’m playing around with the tag and composeDirective with federation 2.0 to see if I can have information specified in the subgraphs centrally read in the gateway but I cannot ever seem to have that data show up in the composed supergraph schema. I’ve created a simple setup with 2 subgraphs and 1 gateway. One of the subgraphs annotates and entity with @tag like this:  
type Mission @tag(name: “CUSTOM-TAG”) {…}

the other subgraph has a custom directive taken directly from the apollo composeDirective docs “@myDirective” and that is applied on one field.

When I run the server (typescript gateway) locally and I inspect the composed schema in apolloServer.internals.state.schemaManager.schemaContext.apiSchema I cannot find the @tag, or custom directives **anywhere**. Am I missing something here?

Is there some way to access the directive data at runtime?
