-
Notifications
You must be signed in to change notification settings - Fork 327
Closed
Labels
in: coreIssues related to config and core supportIssues related to config and core supportin: testIssues related to the test moduleIssues related to the test moduletype: enhancementA general enhancementA general enhancement
Milestone
Description
Both GraphQlClient
and GraphQlTester
APIs use the ParameterizedType
as an argument because of Java's type erasure.
We can contribute Kotlin extensions for such cases to get reified type parameters.
For example this Java code:
Project project = graphQlClient.document(document)
.retrieveSync("project")
.toEntity(Project.class);
can become with Kotlin:
val project = graphQlClient.document(document).retrieveSync("project").toEntity<Project>()
Metadata
Metadata
Assignees
Labels
in: coreIssues related to config and core supportIssues related to config and core supportin: testIssues related to the test moduleIssues related to the test moduletype: enhancementA general enhancementA general enhancement