Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix validations w.r.t. @extends for type extensions #2770

Closed
wants to merge 2 commits into from

Conversation

trevor-scheer
Copy link
Member

@trevor-scheer trevor-scheer commented Jun 3, 2019

Update validations that act on base types / type extensions …
Updates pre-composition validations that make decisions based on
type definitions and type extensions. These validations should
account for the @extends directive, and treat type definitions
that use it as type extensions.

Alternate approach worth considering:
Transform the incoming schema (type Thing @extends ... -> extend type Thing)

The advantage of doing this is that we "normalize" the schema when we receive it and disregard @extends everywhere.

Updates pre-composition validations that make decisions based on
type definitions and type extensions. These validations should
account for the @extends directive, and treat type definitions
that use it as type extensions.
@trevor-scheer trevor-scheer force-pushed the trevor/fix-validations-for-extensions branch from 387c633 to 6dd5521 Compare June 3, 2019 23:33
@trevor-scheer
Copy link
Member Author

Closed in favor of previously mentioned approach:
#2771

@trevor-scheer trevor-scheer deleted the trevor/fix-validations-for-extensions branch August 8, 2019 20:38
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant