Luciano Vernaschi

Results 28 issues of Luciano Vernaschi

When using the multi-module generator in the `tests/spring/security` module, many classes are added to the `components` sections of the OpenAPI definition. Those classes are not used by the endpoints to...

bug
hilla
Severity: Blocker
Impact: Low

In Hilla 1.1, the generator creates TypeScript files by matching fields in the Java class. Consider for example this entity: ```java public class MyEntity { private int num = 3;...

bug
hilla
Severity: Minor
Impact: High

In Hilla 1.1, when generating TypeScript endpoints with `Flux` return types (i.e. push), the return type includes `undefined`. For example, this code: ```java public Flux getAllUsers() { return Flux.just(); }...

bug
hilla
Severity: Minor
Impact: Low

## Description The tests using `flow-maven-plugin` now use `generator-maven-plugin` and the build process is adapted to allow it to run. The plugin replacement should be discussed as by doing so,...

hilla

While searching for the dependencies of `public org.reactivestreams.Publisher apply(java.util.List>)`, the generator seems unable to resolve `V`: ``` ... Caused by: java.lang.IllegalArgumentException: Could not resolve V against parameters of the defining...

bug
hilla

The `endpoints-custom-client` test module fails when using the multi-module generator as it doesn't pick up the provided custom client. It should mimic the existing feature as implemented at https://github.com/vaadin/hilla/blob/42ea5619a0d670b39ef330be68caaf0423c37ad0/packages/java/endpoint/src/main/java/dev/hilla/frontend/TaskGenerateEndpointImpl.java#L50-L54

bug
hilla
Severity: Major
Impact: Low

When the `x-class-name` extended property is created in the OpenApi definition during parsing, its value contains the name of the original class. It should contain the name of the transformed...

enhancement
hilla
internal improvement

When the project containing the endpoints is compiled without the `parameters` flag, ClassGraph always returns `null` as parameter name, whereas Java reflection generates `argN` placeholder names. While it is recommended...

bug
hilla

Fixes #571 by adding a `getIndex` method in `MethodParameterInfoModel` and its subclasses, and using that method to generate missing parameter names in the form `argN`.