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

DO-NOT-MERGE Rework how AST nodes are converted into the executable schema #425

Closed
wants to merge 1 commit into from
Closed

DO-NOT-MERGE Rework how AST nodes are converted into the executable schema #425

wants to merge 1 commit into from

Conversation

spawnia
Copy link
Collaborator

@spawnia spawnia commented Nov 10, 2018

Resolves #184

There is now a clean seperation between FieldDefinitions and InputObjectValues.
They were previously muddled together, which caused our type annotations to be
unnecessarily loose and required some workarounds.

Breaking changes

The way the Field|Node|Arg-Value objects are
constructed were changed and compatibility with the previous ValueFactory can not be guaranteed.
I cleaned up some unneeded methods in the Value objects to streamline their behaviour.

Resolves #184

There is now a clean seperation between FieldDefinitions and InputObjectValues.
They were previously muddled together, which caused our type annotations to be
unnecessarily loose and required some workarounds.

As a result, the way the Field|Node|Arg-Value objects are
constructed were changed and compatibility with the previous ValueFactory can not be guaranteed.
I cleaned up some unneeded methods in the Value objects to streamline their behaviour.
@spawnia spawnia changed the title Rework how AST nodes are converted into the executable schema DO-NOT-MERGE Rework how AST nodes are converted into the executable schema Nov 13, 2018
@spawnia spawnia mentioned this pull request Nov 13, 2018
@spawnia
Copy link
Collaborator Author

spawnia commented Nov 13, 2018

@chrissm79 This PR is meant just for ease of review. It contains a single failing test, which will pass once we remove the @validate directive.

#427 contains the entire set of changes.

@spawnia spawnia closed this Nov 19, 2018
@spawnia spawnia deleted the clean-type-conversion-and-factories branch November 19, 2018 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant