vertx-codegen
vertx-codegen copied to clipboard
Vert.x code generator for asynchronous polyglot APIs
Codegen is only able to generate converters that handles Java Instants. This PR enables the generation of converters that additionally supports LocalTime, LocalDate, LocalDateTime, OffsetDateTime and ZonedDateTime properties.
Hi, This issue proposes to support java16 records with `@DataObject` generator. Atm generated converter `@DataObject` for java16 records is empty. ```java @DataObject(generateConverter = true) public record Page(int limit, int skip)...
This is a code example in the book (guide-for-java-devs.pdf), and I made a piece of changes. 1. `Wiki.java` corresponds with the database table: ```java @AllArgsConstructor public class Wiki { public...
#### Describe the feature Introduce custom formatter for json property names #### Use cases I have a POJO which is annotated with @DataObject (vertx-codegen) to convert it into JSON and...
In certain circumstances it is desirable or necessary to omit a property from the generated converter. For example, the following Kotlin DataObject will not compile successfully: ```kotlin @DataObject(generateConverter = true)...
### Questions When using IntelliJ > 2020.2.4 the build fails with NPE in the CodeGenProcessor. This sound very much like an intelliJ issue however their investigation seem to aim for...
Currently, I've noticed a few generation errors regarding how classes and interfaces are annotated. For example, if a `@VertxGen` interface has a `enum` declared inside, this will be valid java...
### Questions After modifying the source file, the corresponding automatically generated class is not updated. ### Version 4.0.0-milestone4 ### Context while I used vertx to automatically generate classes such as...
### Version 3.9.2 ### Context When @'DataObject' is generated with its fromJson method objects that are import io.vertx.core.json.JsonObject only accept JsonObject as valid option for mapping. Example generated constructor: `private...
The JSON mapper loading does not work with a JPMS project, the current method for loading JSON mapper simply fails.