vaadin / hilla

Build better business applications, faster. No more juggling REST endpoints or deciphering GraphQL queries. Hilla seamlessly connects Spring Boot and React to accelerate application development.
https://hilla.dev
Apache License 2.0
904 stars 57 forks source link

Useless NumberSignal type is generated #2758

Open Legioth opened 1 week ago

Legioth commented 1 week ago

When you have an endpoint service returning a NumberSignal, you get a Frontend/generated/com/vaadin/hilla/signals/NumberSignal.ts file which you might accidentally import from instead of importing from @vaadin/hilla-react-signals. This type is quite useless since it doesn't define the actual NumberSignal API.

I would expect that we don't generate files for APIs in com.vaadin.hilla.signals.