Skip to content

Commit

Permalink
docs: update import
Browse files Browse the repository at this point in the history
  • Loading branch information
danadajian committed Sep 3, 2024
1 parent f4d442a commit d147ffb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions docs/docs/recommended-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ open class MyType {
Source code:

```kotlin
import com.types.generated.Query as QueryInterface
import com.types.generated.MyType as MyTypeInterface

class MyQuery : Query, QueryInterface() {
Expand Down
16 changes: 8 additions & 8 deletions src/config/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ import {
import { Kind } from "graphql";

export const configSchema = object({
/**
* Denotes whether to consolidate classes for input and output types whose fields are equivalent.
*
* @default true
*
* @link https://opensource.expediagroup.com/graphql-kotlin-codegen/docs/class-consolidation
*/
classConsolidationEnabled: optional(boolean()),
/**
* Limits dependent types to include from `onlyTypes` list. Can be used to exclude classes that are imported from external packages.
*
Expand Down Expand Up @@ -64,14 +72,6 @@ export const configSchema = object({
}),
),
),
/**
* Denotes whether to consolidate classes for input and output types whose fields are equivalent.
*
* @default true
*
* @link https://opensource.expediagroup.com/graphql-kotlin-codegen/docs/class-consolidation
*/
classConsolidationEnabled: optional(boolean()),
/**
* Denotes Kotlin classes representing union types to be treated as interfaces rather than annotation classes.
*
Expand Down

0 comments on commit d147ffb

Please sign in to comment.