Skip to content

Commit 12a93b6

Browse files
committed
feat: improve top-level Query and Mutation type handling (#72)
* unit test * refactor * pass test * add mutation tests * fix integration test * refactor * reorganize * separate field definition functions * pull out boolean arg * pull out other boolean arg * refactor * refactor * bun version * set up docs workspace * docs
1 parent fd86c06 commit 12a93b6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/docs/recommended-usage.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,11 @@ Source code:
9999

100100
```kotlin
101101
import com.types.generated.MyType as MyTypeInterface
102-
import com.expediagroup.graphql.generator.annotations.GraphQLIgnore
103102

104103
class MyQuery : Query, QueryInterface() {
105104
override fun resolveMyType(input: String): MyType = MyType()
106105
}
107106

108-
@GraphQLIgnore
109107
class MyType : MyTypeInterface() {
110108
override fun foo(): String = myExpensiveCall1()
111109
override fun bar(): String? = myExpensiveCall2()

0 commit comments

Comments
 (0)