We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f622d81 + 96c5eef commit 02a7908Copy full SHA for 02a7908
scalar.go
@@ -33,6 +33,9 @@ type (
33
// This type is most often used by GraphQL to represent free-form
34
// human-readable text.
35
String string
36
+
37
+ // Token represents a Token string
38
+ Token string
39
)
40
41
// NewBoolean is a helper to make a new *Boolean.
@@ -49,3 +52,6 @@ func NewInt(v Int) *Int { return &v }
49
52
50
53
// NewString is a helper to make a new *String.
51
54
func NewString(v String) *String { return &v }
55
56
+// NewToken is a helper to make a new *String.
57
+func NewToken(v Token) *Token { return &v }
0 commit comments