Kobby is a codegen plugin of Kotlin DSL Client by GraphQL schema. The generated DSL supports execution of complex GraphQL queries, mutation and subscriptions in Kotlin with syntax similar to native GraphQL syntax.
APACHE-2.0 License
Bot releases are visible (Hide)
Published by ermadmi78 about 1 month ago
As a side effect of [#43] bug fix, it became possible to generate mutable DTO classes.
Gradle:
kobby {
kotlin {
dto {
maxNumberOfFieldsForImmutableDtoClass = 0 // Generate mutable DTO classes
maxNumberOfFieldsForImmutableInputClass = 0 // Generate mutable Input classes
}
}
}
Maven:
<build>
<plugins>
<plugin>
<groupId>io.github.ermadmi78</groupId>
<artifactId>kobby-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>generate-kotlin</goal>
</goals>
<configuration>
<kotlin>
<dto>
<!-- Generate mutable DTO classes -->
<maxNumberOfFieldsForImmutableDtoClass>0</maxNumberOfFieldsForImmutableDtoClass>
<!-- Generate mutable Input classes -->
<maxNumberOfFieldsForImmutableInputClass>0</maxNumberOfFieldsForImmutableInputClass>
</dto>
</kotlin>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Published by ermadmi78 about 1 month ago
As a side effect of [#43] bug fix, it became possible to generate mutable DTO classes.
Gradle:
kobby {
kotlin {
dto {
maxNumberOfFieldsForImmutableDtoClass = 0 // Generate mutable DTO classes
maxNumberOfFieldsForImmutableInputClass = 0 // Generate mutable Input classes
}
}
}
Maven:
<build>
<plugins>
<plugin>
<groupId>io.github.ermadmi78</groupId>
<artifactId>kobby-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>generate-kotlin</goal>
</goals>
<configuration>
<kotlin>
<dto>
<!-- Generate mutable DTO classes -->
<maxNumberOfFieldsForImmutableDtoClass>0</maxNumberOfFieldsForImmutableDtoClass>
<!-- Generate mutable Input classes -->
<maxNumberOfFieldsForImmutableInputClass>0</maxNumberOfFieldsForImmutableInputClass>
</dto>
</kotlin>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Published by ermadmi78 3 months ago
Published by ermadmi78 3 months ago
Published by ermadmi78 5 months ago
Published by ermadmi78 6 months ago
The main goal of this release is migration from the legacy GraphQL WebSockets protocol to the new one. Read this blog post for more details.
Additionally all sample projects have been migrated to the official GraphQL Spring Boot Starter. See Gradle Example, Maven Example, Gradle Tutorial and Maven Tutorial.
Published by ermadmi78 6 months ago
Published by ermadmi78 over 1 year ago
Published by ermadmi78 over 1 year ago
Published by ermadmi78 over 1 year ago
Upgrade Gradle Wrapper to 8.1.1
Published by ermadmi78 over 1 year ago
Build script refactoring
Published by ermadmi78 over 1 year ago
The main goal of this release is to support Kotlinx Serialization engine in the generated GraphQL DSL. This feature allows you to use the Kobby plugin in multiplatform projects.
Published by ermadmi78 over 1 year ago
The main goal of this release is to support the Kotlinx Serialization engine [#7] in the generated GraphQL DSL. This feature allows you to use the Kobby plugin in multiplatform projects.
Published by ermadmi78 over 1 year ago
Published by ermadmi78 almost 2 years ago
Published by ermadmi78 about 2 years ago
Published by ermadmi78 about 2 years ago
Published by ermadmi78 about 2 years ago
Published by ermadmi78 over 2 years ago