-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
custom RepositoryRestConfigurer not initialized when lazy-initialization is set to true #2238
Comments
Thanks for bringing this to our attention. Any chance you can provide a minimal reproducer (ideally Java, Maven, as few as possible, additional dependencies)? |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
I can confirm this. It also happened to us on Spring Boot 3.2.4 with
The workaround ist to not load the relevant
|
Hi!
We need to register custom converters from our repositories exposed as
RepositoryRestResource
.We implement a class, annotated with
@Configuration
, that extends theRepositoryRestConfigurer
and we implement theconfigureConversionService
method.When the application starts with
spring.main.lazy-initialization
attrue
the custom converters are not loaded.Spring Boot version: 2.7.7
The text was updated successfully, but these errors were encountered: