forked from ChilliCream/graphql-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed: field selection merging rule reported error on non existing fi…
…elds (ChilliCream#303)
- Loading branch information
1 parent
8785899
commit 7f3b74a
Showing
4 changed files
with
117 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99 changes: 99 additions & 0 deletions
99
src/Validation.Tests/__resources__/InvalidIntrospectionQuery.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
query GetSchemaByTag { | ||
__schema { | ||
queryType { | ||
name | ||
} | ||
mutationType { | ||
name | ||
} | ||
subscriptionType { | ||
name | ||
} | ||
types { | ||
...IntrospectionFullType | ||
} | ||
directives { | ||
name | ||
description | ||
locations | ||
args { | ||
...IntrospectionInputValue | ||
} | ||
} | ||
} | ||
} | ||
|
||
fragment IntrospectionFullType on __Type { | ||
kind | ||
name | ||
description | ||
fields { | ||
name | ||
description | ||
args { | ||
...IntrospectionInputValue | ||
} | ||
type { | ||
...IntrospectionTypeRef | ||
} | ||
isDeprecated | ||
deprecationReason | ||
} | ||
inputFields { | ||
...IntrospectionInputValue | ||
} | ||
interfaces { | ||
...IntrospectionTypeRef | ||
} | ||
enumValues(includeDeprecated: true) { | ||
name | ||
description | ||
isDeprecated | ||
depreactionReason | ||
} | ||
possibleTypes { | ||
...IntrospectionTypeRef | ||
} | ||
} | ||
|
||
fragment IntrospectionInputValue on __InputValue { | ||
name | ||
description | ||
type { | ||
...IntrospectionTypeRef | ||
} | ||
defaultValue | ||
} | ||
|
||
fragment IntrospectionTypeRef on __Type { | ||
kind | ||
name | ||
ofType { | ||
kind | ||
name | ||
ofType { | ||
kind | ||
name | ||
ofType { | ||
kind | ||
name | ||
ofType { | ||
kind | ||
name | ||
ofType { | ||
kind | ||
name | ||
ofType { | ||
kind | ||
name | ||
ofType { | ||
kind | ||
name | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |