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
The private getOpenApiAsResource method in EndpointController breaks the application because of an explicit cast to WebApplicationContext, that is not supported by the extension.
Possible solutions:
find an alternative way to implement the method and use byte-code replacement to replace it
import and implement WebApplicationContext interface into the extension
The text was updated successfully, but these errors were encountered:
Method getOpenApiAsResource has been removed and the endpoint registration invocation has been moved to EndpointRegistryInitializer. EndpointRegistryInitializer is a VaadinServiceInitListener marked with the @Component annotation. In Hilla it is automatically executed because of the logic provided by the Vaadin spring add-on.
The extension should find a way to do the same.
Registering the implementation for ServiceLoader API at build time will not work because EndpointRegistryInitializer has a constructor that requires a reference to the EndpointController.
Hilla endpoint registry is now eagerly initialized in a VaadinServiceInitListener.
This change introduces an custom init listener to postpone the registry initialization
in a method, to prevent application crash because Quarkus SecurityConfiguration
required by security interceptor (e.g. for annotation) is not yet ready.
Fixes#604
Hilla endpoint registry is now eagerly initialized in a VaadinServiceInitListener.
This change introduces an custom init listener to postpone the registry initialization
in a method, to prevent application crash because Quarkus SecurityConfiguration
required by security interceptor (e.g. for annotation) is not yet ready.
Fixes#604
The private
getOpenApiAsResource
method inEndpointController
breaks the application because of an explicit cast toWebApplicationContext
, that is not supported by the extension.Possible solutions:
WebApplicationContext
interface into the extensionThe text was updated successfully, but these errors were encountered: