forked from 99designs/gqlgen
-
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.
Add namespace to test cases for embedded in testserver
- Loading branch information
1 parent
c72931c
commit 5d30ab9
Showing
6 changed files
with
197 additions
and
197 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
extend type Query { | ||
case1: Case1 | ||
case2: Case2 | ||
# case3: Case3 | ||
embeddedCase1: EmbeddedCase1 | ||
embeddedCase2: EmbeddedCase2 | ||
# embeddedCase3: EmbeddedCase3 | ||
} | ||
|
||
type Case1 @goModel(model:"testserver.Case1") { | ||
type EmbeddedCase1 @goModel(model:"testserver.EmbeddedCase1") { | ||
exportedEmbeddedPointerExportedMethod: String! | ||
} | ||
|
||
type Case2 @goModel(model:"testserver.Case2") { | ||
type EmbeddedCase2 @goModel(model:"testserver.EmbeddedCase2") { | ||
unexportedEmbeddedPointerExportedMethod: String! | ||
} | ||
|
||
# type Case3 @goModel(model:"testserver.Case3") { | ||
# type EmbeddedCase3 @goModel(model:"testserver.EmbeddedCase3") { | ||
# explicitInterfaceMethod: 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
Oops, something went wrong.