Skip to content

Commit

Permalink
Add Schema Operation detailed Introspection
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonGraal committed Feb 9, 2025
1 parent 4d000d7 commit d613077
Show file tree
Hide file tree
Showing 12 changed files with 3,475 additions and 429 deletions.
2 changes: 1 addition & 1 deletion test/GqlPlus.ComponentTestBase/OperationData.gen.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated from .\test\GqlPlus.ComponentTestBase\Samples\Operation
// Collected from d8dfac8 (HEAD -> operation) 2025-02-09 Merge branch 'main' into operation
// Collected from d8dfac8 (HEAD -> operation, origin/operation) 2025-02-09 Merge branch 'main' into operation

namespace GqlPlus;

Expand Down
2 changes: 1 addition & 1 deletion test/GqlPlus.ComponentTestBase/SampleData.gen.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated from .\test\GqlPlus.ComponentTestBase\Samples
// Collected from d8dfac8 (HEAD -> operation) 2025-02-09 Merge branch 'main' into operation
// Collected from d8dfac8 (HEAD -> operation, origin/operation) 2025-02-09 Merge branch 'main' into operation

namespace GqlPlus;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,62 @@ output _Operations {
output _Operation {
: _Aliased
category: _Identifier
operation: string
variables: _OpVariable?
directives: _OpDirective[]
fragments: _OpFragment[]
result: _OpResult
}

output _OpVariable {
name: _Identifier
type: _ObjType<_InputBase>
modifiers: _Modifiers[]
default: String? # Todo: _OpDefault
directives: _OpDirective[]
}

dual _OpDirective {
name: _Identifier
argument: String? # Todo: _OpArgument
}

output _OpFragment {
name: _Identifier
type: _ObjType<_OutputBase>
directives: _OpDirective[]
body: _OpObject[]
}

output _OpResult {
domain: _TypeRef<_SimpleKind>?
argument: String? # Todo: _OpArgument
body: _OpObject[]
}

output _OpObject {
| _OpField
| _OpSpread
| _OpInline
}

output _OpField {
alias: String?
field: String
argument: String? # Todo: _OpArgument
modifiers: _Modifiers
directives: _OpDirective[]
body: _OpObject[]
}

output _OpInline {
type: String?
directives: _OpDirective[]
body: _OpObject[]
}

output _OpSpread {
fragment: String
directives: _OpDirective[]
}
output _Setting {
: _Described
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,60 @@ output _Operations {
output _Operation {
: _Aliased
category: _Identifier
operation: string
variables: _OpVariable?
directives: _OpDirective[]
fragments: _OpFragment[]
result: _OpResult
}

output _OpVariable {
name: _Identifier
type: _ObjType<_InputBase>
modifiers: _Modifiers[]
default: String? # Todo: _OpDefault
directives: _OpDirective[]
}

dual _OpDirective {
name: _Identifier
argument: String? # Todo: _OpArgument
}

output _OpFragment {
name: _Identifier
type: _ObjType<_OutputBase>
directives: _OpDirective[]
body: _OpObject[]
}

output _OpResult {
domain: _TypeRef<_SimpleKind>?
argument: String? # Todo: _OpArgument
body: _OpObject[]
}

output _OpObject {
| _OpField
| _OpSpread
| _OpInline
}

output _OpField {
alias: String?
field: String
argument: String? # Todo: _OpArgument
modifiers: _Modifiers
directives: _OpDirective[]
body: _OpObject[]
}

output _OpInline {
type: String?
directives: _OpDirective[]
body: _OpObject[]
}

output _OpSpread {
fragment: String
directives: _OpDirective[]
}
2 changes: 1 addition & 1 deletion test/GqlPlus.ComponentTestBase/Samples/git-details.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d8dfac8 (HEAD -> operation) 2025-02-09 Merge branch 'main' into operation
d8dfac8 (HEAD -> operation, origin/operation) 2025-02-09 Merge branch 'main' into operation
2 changes: 1 addition & 1 deletion test/GqlPlus.ComponentTestBase/SchemaData.gen.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated from .\test\GqlPlus.ComponentTestBase\Samples\Schema
// Collected from d8dfac8 (HEAD -> operation) 2025-02-09 Merge branch 'main' into operation
// Collected from d8dfac8 (HEAD -> operation, origin/operation) 2025-02-09 Merge branch 'main' into operation

namespace GqlPlus;

Expand Down
Loading

0 comments on commit d613077

Please sign in to comment.