-
-
Notifications
You must be signed in to change notification settings - Fork 144
Closed
Description
I have a use case where part of the schema is specified using the SDL, and part of the schema is generated in code. In particular, interfaces are in SDL, while the concrete types are in code. To correctly modify the GraphQLSchema object that is generated by parsing the initial schema, you need to:
- add the type concrete type to
type_map - add the type to
_implementations_mapappropriately - reset
_sub_type_map
Would you be open to adding an add_type method or similar that takes care of all of the above?
Metadata
Metadata
Assignees
Labels
No labels