You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Hilla's browser callable aka endpoints are present in a project, the Hilla TS endpoints generator packages have to be added.
Flow should know whether to add them during build time based on presence BrowserCallable / Endpoint annotated classes in a project.
Describe the solution you'd like
These annotations are Hilla owned, so there should be a new API to pass this flag from Hilla.
It could be a method like hasBrowserCallables() in EndpointGeneratorTaskFactory interface that calls BrowserCallableFinder internally or Hilla can make BrowserCallableFinder discoverable through lookup for Flow.
We have to change the ordering of node tasks in Flow from
Describe your motivation
Follow-up for #20289.
When Hilla's browser callable aka endpoints are present in a project, the Hilla TS endpoints generator packages have to be added.
Flow should know whether to add them during build time based on presence
BrowserCallable
/Endpoint
annotated classes in a project.Describe the solution you'd like
These annotations are Hilla owned, so there should be a new API to pass this flag from Hilla.
It could be a method like
hasBrowserCallables()
inEndpointGeneratorTaskFactory
interface that callsBrowserCallableFinder
internally or Hilla can makeBrowserCallableFinder
discoverable through lookup for Flow.We have to change the ordering of node tasks in Flow from
to
(discover endpoints -> add generators if needed -> npm install -> generate endpoints if needed)
Describe alternatives you've considered
Revert the #20289 and document the workaround.
Additional context
Target version - 24.7
The text was updated successfully, but these errors were encountered: