You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ff142bd
Browse filesBrowse the repository at this point in the historyBrowse files
assert asClass == definition.getClass(), "Could not find expected definition of type "+ asClass.getName() +" but was "+ definition.getClass().getName()
812
813
return asClass.cast(definition)
813
814
}
815
+
816
+
def"able to allow special names for field names"() {
817
+
given:
818
+
819
+
def input ="""
820
+
type Query {
821
+
true: String
822
+
fragment: String
823
+
false: String
824
+
on: String
825
+
null: String
826
+
}
827
+
"""
828
+
when:
829
+
Document document =Parser.parse(input)
830
+
String name = (document.definitions[0] asTypeDefinition).name
0 commit comments