Closed sahilrl closed 1 year ago
Thanks for the report 🙂 How did you obtain the SDL? If you used the normal introspection query, please keep in mind that Schema Directives aren't included in the introspection result. To introspect a federated schema including the federated directives, you can use this:
query = """
query {
_service {
sdl
}
}
"""
result = graphql_sync(schema.graphql_schema, query)
Thankyou @erikwrede The above method works to obtain the SDL with federated directives included.
This is the schema being created