test, and clean up, support for __typename

This commit is contained in:
Ben Kraft
2020-07-15 17:35:47 -07:00
parent cf6f57f5f1
commit d089ab1afb
5 changed files with 25 additions and 8 deletions
+6
View File
@@ -0,0 +1,6 @@
{
user {
__typename
id
}
}
+6
View File
@@ -0,0 +1,6 @@
type Response struct {
User *struct {
Typename *string `json:"__typename"`
Id string `json:"id"`
} `json:"user"`
}