Describe the bug
For the 'print schema' command, the schema does not generate the context for source nodes involved in the switch interpretations. They do not inherit the relationships and properties declared in the subsequent interpretations.
To Reproduce
Create the following interpretation of data:
Then run
poetry run nodestream print schema --format graphql -o schema.graphql
Expected behavior
For AType, Btype, and DefaultType source nodes, we would expect the schema to have InboundNode and OutboundNode relationships and the 'type' properties for each of them.
Additional context
Add any other context about the problem here.
Describe the bug For the 'print schema' command, the schema does not generate the context for source nodes involved in the switch interpretations. They do not inherit the relationships and properties declared in the subsequent interpretations.
To Reproduce Create the following interpretation of data:
Then run
poetry run nodestream print schema --format graphql -o schema.graphql
Expected behavior For AType, Btype, and DefaultType source nodes, we would expect the schema to have InboundNode and OutboundNode relationships and the 'type' properties for each of them.
Additional context Add any other context about the problem here.