Skip to content

Now checking for @deprecated location correctness#2018

Merged
andimarek merged 4 commits into
masterfrom
deprecated-directive-is-checked-for-location-correctedness
Nov 2, 2020
Merged

Now checking for @deprecated location correctness#2018
andimarek merged 4 commits into
masterfrom
deprecated-directive-is-checked-for-location-correctedness

Conversation

@bbakerman

@bbakerman bbakerman commented Sep 1, 2020

Copy link
Copy Markdown
Member

See #1949

We already added the @deprecated and @specifiedBy magic directives into the mix - so we can use standard validation for them

We no longer need the magic checking - I think this was before we added the magic directive definitions in place.

This consolidates that code a little and moves where the constants live

@bbakerman bbakerman added this to the 16.0 milestone Sep 1, 2020
@andimarek

Copy link
Copy Markdown
Member

The initial Issue says that input types are not correctly checked: I can only see that input types are added here as additional check. That correct?

…e-is-checked-for-location-correctedness

# Conflicts:
#	src/main/java/graphql/schema/idl/SchemaGeneratorHelper.java
@bbakerman

Copy link
Copy Markdown
Member Author

Yes that's correct

@andimarek andimarek merged commit dd5d4d8 into master Nov 2, 2020
@andimarek andimarek deleted the deprecated-directive-is-checked-for-location-correctedness branch May 4, 2021 21:07
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