Christian Köberl
Christian Köberl
We have the same problem and also fixed it with `require` (like https://github.com/vinissimus/next-translate/issues/851#issuecomment-1116090210). We also had to catch the error on the `require` because not all of the files exist...
The problem with using `require` is that all locales will be included in the `_app` bundle. This makes the first load quite big if you have many languages (as we...
Just looked at the code and saw that the default loader is passed as a string: https://github.com/vinissimus/next-translate/blob/49f580c6d292712a0720a104de3b487e7c11d4ae/src/plugin/utils.ts#L6-L7 ~~I've tried to use a string now in our repo and it works...
When disabling the loader the imports still work - see https://github.com/vinissimus/next-translate/issues/741#issuecomment-1145838941 for an example.
I have tried to adapt the Quarkus rules in [this branch ](https://github.com/derkoe/spring-native/tree/liquibase): [LiquibaseHints.java](https://github.com/derkoe/spring-native/blob/liquibase/spring-native-configuration/src/main/java/liquibase/LiquibaseHints.java) Then I run into this error: ``` Caused by: liquibase.exception.UnexpectedLiquibaseException: Cannot find LockService for unsupported at liquibase.lockservice.LockServiceFactory.getLockService(LockServiceFactory.java:74)...
There is already a PR in Liquibase that will fix this for 4.x (which will be used in Spring Boot 2.5): https://github.com/liquibase/liquibase/pull/1582 (tried that with Spring Boot 2.5.0-M3 and that...
@sdeleuze I thought more about taking the PR as an inspiration for a Spring Boot 2.4 backport. I also think that Spring Native should add the Liquibase Changset files (like...
The issue with Spring Boot 2.4 is the class `org.springframework.boot.liquibase.SpringPackageScanClassResolver` - this breaks the service discovery with native-image.
Liquibase just closed the PR https://github.com/liquibase/liquibase/pull/1582 - seems like Spring has to deal with it (like Quarkus and Micronaut do)
This issues also exists with offline tokens.