Closed angelosantos4 closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.87%. Comparing base (
ee0c427
) to head (c6d3927
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
In this PR, we rework the way that the interpreter generates a schema based on the underlying interpretations.
Changes:
Pre-initialization check for schema correctness given
VALIDATE_PIPELINE_SCHEMA
environment variable is set. This schema introspection fix assumes that there is only one source node to be interpreted under any ingest. A check is made for the following:For GraphQL schema generation, LocalDateTime objects are now DateTime objects.
The before iteration interpretations are now accounted for within the schema introspection. (We acknowledge that either the before iteration and interpretation phases can act as source node creators.)
Introspection is now broken down into context levels for each component that expands schema from children. For example:
The switch interpretation now represents the interpretations for each key as an interpretation pass.
Source node creators are now added to the end of the schema generation process.
Additional work/Unsolved Problems:
For instance:
In the schema generation, source node A will involve both relationship A and relationship B, even though it is not possible for source node A to have relationship