Skip to content

Added schema / introspection diff support#745

Merged
bbakerman merged 2 commits into
graphql-java:masterfrom
bbakerman:744-diff-support
Oct 2, 2017
Merged

Added schema / introspection diff support#745
bbakerman merged 2 commits into
graphql-java:masterfrom
bbakerman:744-diff-support

Conversation

@bbakerman
Copy link
Copy Markdown
Member

see #744

Adds support for diffing two schemas or introspection results

@bbakerman bbakerman added this to the 5.0 milestone Sep 29, 2017
@andimarek
Copy link
Copy Markdown
Member

Copy link
Copy Markdown
Member

@andimarek andimarek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work

}

@SuppressWarnings("ConstantConditions")
private Optional<SchemaDefinition> getSchemaDef(Document document) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe it is better to throw an exception if no SchemaDefinition can be found?

@bbakerman
Copy link
Copy Markdown
Member Author

is this a direct adaption of the graphql-js implementation

No its not. Its was developed indepedently pretty much

@bbakerman bbakerman merged commit 92468df into graphql-java:master Oct 2, 2017
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.

2 participants