We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When defining an enum with a value that contains the keyword Unit, the compiler will fail.
Unit
To Reproduce Steps to reproduce the behavior:
mvn clean compile
Expected behavior It should compile the wirespec to valid Kotlin code.
Screenshots
Desktop (please complete the following information):
Additional context The Maven pom plugin section for wirespec:
<dependency> <groupId>community.flock.wirespec.integration</groupId> <artifactId>spring-jvm</artifactId> <version>0.10.21</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>community.flock.wirespec.plugin.maven</groupId> <artifactId>wirespec-maven-plugin</artifactId> <version>0.10.21</version> <dependencies> <dependency> <groupId>community.flock.wirespec.integration</groupId> <artifactId>spring-jvm</artifactId> <version>0.10.21</version> </dependency> </dependencies> <executions> <execution> <id>kotlin</id> <goals> <goal>custom</goal> </goals> <configuration> <input>${project.basedir}/src/main/wirespec</input> <output>${project.build.directory}/generated-sources</output> <emitterClass>community.flock.wirespec.integration.spring.kotlin.emit.SpringKotlinEmitter</emitterClass> <shared>Kotlin</shared> <extension>kt</extension> <packageName>redacted</packageName> </configuration> </execution> </executions> </plugin>
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
When defining an enum with a value that contains the keyword
Unit
, the compiler will fail.To Reproduce
Steps to reproduce the behavior:
mvn clean compile
Expected behavior
It should compile the wirespec to valid Kotlin code.
Screenshots
Desktop (please complete the following information):
Additional context
The Maven pom plugin section for wirespec:
The text was updated successfully, but these errors were encountered: