-
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.
Update Introspection PEG and improve Enum Value verification
- Loading branch information
Struan Judd
committed
Jan 14, 2024
1 parent
67626ea
commit d9c893b
Showing
25 changed files
with
880 additions
and
460 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
12 changes: 8 additions & 4 deletions
12
test/GqlPlus.Verifier.ComponentTests/Sample/Schema/Intro_Common.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
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
13 changes: 9 additions & 4 deletions
13
test/GqlPlus.Verifier.ComponentTests/Sample/Schema/Intro_Enum.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 |
---|---|---|
@@ -1,11 +1,16 @@ | ||
output _TypeEnum { | ||
: _BaseType<_TypeKind.Enum> | ||
base: String? | ||
values: _Aliased[] | ||
allValues: _EnumValue[] | ||
base: _TypeRef<_TypeKind.Enum>? | ||
members: _Aliased[] | ||
allMembers: _EnumMember[] | ||
} | ||
|
||
output _EnumValue { | ||
output _EnumMember { | ||
: _Aliased | ||
enum: String | ||
} | ||
|
||
output _EnumValue { | ||
: _TypeRef<_TypeKind.Enum> | ||
value: String | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,11 @@ Success | |
output | ||
: | ||
I@17/9 | ||
String | ||
_TypeRef | ||
< | ||
I@26/9 | ||
_TypeKind.Output | ||
> | ||
!OF I@9/10 | ||
modifiers | ||
: | ||
|
Oops, something went wrong.