Skip to content

Using variables with Kotlin closures #843

@GeorgEchterling

Description

@GeorgEchterling

The documentation provides an example for the usage of variables in the non-closure code.

I cannot find a way to do this when using generateKotlinClosureProjections = true, since the generated methods do not have any similar ...Reference parameters. I also cannot simply fall back to selectively using ...GraphQLQuery classes, since the generation of the Java classes seems to be mutually exclusive with Kotlin closures.

Is this feature planned and/or would you be willing to accept a PR for this feature?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions