-
Notifications
You must be signed in to change notification settings - Fork 126
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
fixed prelude.graphql to be correct in the latest spec #182
fixed prelude.graphql to be correct in the latest spec #182
Conversation
@@ -22,100 +22,100 @@ directive @include(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT | |||
directive @skip(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT | |||
|
|||
"The @deprecated directive is used within the type system definition language to indicate deprecated portions of a GraphQL service’s schema, such as deprecated fields on a type or deprecated enum values." | |||
directive @deprecated(reason: String = "No longer supported") on FIELD_DEFINITION | ENUM_VALUE | ARGUMENT_DEFINITION | INPUT_FIELD_DEFINITION | |||
directive @deprecated(reason: String = "No longer supported") on FIELD_DEFINITION | ENUM_VALUE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"The @specifiedBy built-in directive is used within the type system definition language to provide a scalar specification URL for specifying the behavior of custom scalar types." | ||
directive @specifiedBy(url: String!) on SCALAR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new one
# must be non-null for ENUM, otherwise null. | ||
enumValues(includeDeprecated: Boolean = false): [__EnumValue!] | ||
# must be non-null for INPUT_OBJECT, otherwise null. | ||
inputFields: [__InputValue!] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
previous (incorrect): inputFields(includeDeprecated: Boolean = false): [__InputValue!]
# must be non-null for NON_NULL and LIST, otherwise null. | ||
ofType: __Type | ||
# may be non-null for custom SCALAR, otherwise null. | ||
specifiedByURL: String |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new one
deprecationReason: String | ||
name: String! | ||
description: String | ||
args: [__InputValue!]! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
previous (incorrect): args(includeDeprecated: Boolean = false): [__InputValue!]!
fixed prelude.graphql to be correct for the latest spec