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
Copy file name to clipboardExpand all lines: intellij-plugin/src/main/kotlin/com/apollographql/ijplugin/inspection/ApolloOneOfInputCreationInspection.kt
Copy file name to clipboardExpand all lines: intellij-plugin/src/test/kotlin/com/apollographql/ijplugin/inspection/ApolloOneOfInputCreationInspectionTest.kt
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -20,5 +20,8 @@ class ApolloOneOfInputCreationInspectionTest : ApolloTestCase() {
20
20
assertTrue(highlightInfos.any { it.description =="@oneOf input class constructor must have exactly one argument"&& it.text =="FindUserInput"&& it.line ==8 })
21
21
assertTrue(highlightInfos.any { it.description =="@oneOf input class constructor must have exactly one argument"&& it.text =="FindUserInput"&& it.line ==10 })
22
22
assertTrue(highlightInfos.any { it.description =="@oneOf input class argument must be Present"&& it.text =="FindUserInput"&& it.line ==20 })
23
+
assertTrue(highlightInfos.any { it.description =="@oneOf input class builder must have exactly one field set"&& it.text =="name(\"John\")"&& it.line ==28 })
24
+
assertTrue(highlightInfos.any { it.description =="@oneOf input class argument must be non-null"&& it.text =="email(null)"&& it.line ==36 })
25
+
assertTrue(highlightInfos.any { it.description =="@oneOf input class argument must be non-null"&& it.text =="email(someNullableEmail)"&& it.line ==41&& it.type.getSeverity(null).name =="WARNING" })
Copy file name to clipboardExpand all lines: intellij-plugin/src/test/kotlin/com/apollographql/ijplugin/navigation/GraphQLGotoDeclarationHandlerTest.kt
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,9 @@ class GraphQLGotoDeclarationHandlerTest : ApolloTestCase() {
0 commit comments