Skip to content

Commit 3cc883c

Browse files
authored
Add a test for field names that have the same name as an enum type (#5158)
* Compiler: add a test for types named `Object` (#5156) * add a test for Object Fixes #1173 * add comment * update measurments
1 parent 3972d9c commit 3cc883c

27 files changed

+979
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
query TestQuery {
2+
amenityCategories {
3+
text
4+
}
5+
category
6+
}

libraries/apollo-compiler/src/test/graphql/com/example/list_field_clash/java/operationBased/list_field_clash/TestQuery.java.expected

Lines changed: 232 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libraries/apollo-compiler/src/test/graphql/com/example/list_field_clash/java/operationBased/list_field_clash/adapter/TestQuery_ResponseAdapter.java.expected

Lines changed: 94 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libraries/apollo-compiler/src/test/graphql/com/example/list_field_clash/java/operationBased/list_field_clash/selections/TestQuerySelections.java.expected

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)