#Graphql federation 2 directives not printed in schema

2 messages · Page 1 of 1 (latest)

long kettle
#

Hello. 1st, the graphql doc on nestjs docs shows to install @apollo/federation which is deprecated, so i do expect this part has not been updated for a while. which brings me to my question:

i've setup a pretty straightforward federation and used a bunch of directives but those are not added when generating the schema. i also tried to look at this from runtime perspective and it seems like it's not generated (even in memory).

i do wonder if it's an issue of not using the printSubschema from @apollo/subgraph or not. i'm actively looking into the sourcecode of nest for now to try to identify where it would happen, but any help/pointers would be welcomed

edgy falconBOT
#

This post has been marked as resolved. :white_check_mark:
Please read through the conversation and resolution if you are having the same issue, and then re-open the post if you are still having trouble, providing as much extra information as possible.