File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ open class MyType {
9898Source code:
9999
100100``` kotlin
101+ import com.types.generated.Query as QueryInterface
101102import com.types.generated.MyType as MyTypeInterface
102103
103104class MyQuery : Query , QueryInterface () {
Original file line number Diff line number Diff line change @@ -24,6 +24,14 @@ import {
2424import { Kind } from "graphql" ;
2525
2626export 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 ( ) ) ,
2735 /**
2836 * Limits dependent types to include from `onlyTypes` list. Can be used to exclude classes that are imported from external packages.
2937 *
@@ -64,14 +72,6 @@ export const configSchema = object({
6472 } ) ,
6573 ) ,
6674 ) ,
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 ( ) ) ,
7575 /**
7676 * Denotes Kotlin classes representing union types to be treated as interfaces rather than annotation classes.
7777 *
You can’t perform that action at this time.
0 commit comments