File tree 2 files changed +9
-8
lines changed
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ open class MyType {
98
98
Source code:
99
99
100
100
``` kotlin
101
+ import com.types.generated.Query as QueryInterface
101
102
import com.types.generated.MyType as MyTypeInterface
102
103
103
104
class MyQuery : Query , QueryInterface () {
Original file line number Diff line number Diff line change @@ -24,6 +24,14 @@ import {
24
24
import { Kind } from "graphql" ;
25
25
26
26
export const configSchema = object ( {
27
+ /**
28
+ * Denotes whether to consolidate classes for input and output types whose fields are equivalent.
29
+ *
30
+ * @default true
31
+ *
32
+ * @link https://opensource.expediagroup.com/graphql-kotlin-codegen/docs/class-consolidation
33
+ */
34
+ classConsolidationEnabled : optional ( boolean ( ) ) ,
27
35
/**
28
36
* Limits dependent types to include from `onlyTypes` list. Can be used to exclude classes that are imported from external packages.
29
37
*
@@ -64,14 +72,6 @@ export const configSchema = object({
64
72
} ) ,
65
73
) ,
66
74
) ,
67
- /**
68
- * Denotes whether to consolidate classes for input and output types whose fields are equivalent.
69
- *
70
- * @default true
71
- *
72
- * @link https://opensource.expediagroup.com/graphql-kotlin-codegen/docs/class-consolidation
73
- */
74
- classConsolidationEnabled : optional ( boolean ( ) ) ,
75
75
/**
76
76
* Denotes Kotlin classes representing union types to be treated as interfaces rather than annotation classes.
77
77
*
You can’t perform that action at this time.
0 commit comments