Julius Krah

Results 12 comments of Julius Krah

> your issue doesn't have much information for us to diagnose what may be the issue I will try to reproduce something for this ticket. Basically, after the first error,...

Dear @bclozel thank you for taking the time to look at this issue. You can disable the migration with `export MONGOCK_ENABLED=false`.

After explicitly setting my web-application type to `reactive`, this is no longer the case. The GeoJSON module is not getting registered twice. ```yaml spring: main: web-application-type: reactive ``` I suspect...

`spring-cloud-stream-schema` pulls in `spring-web` which causes issues for people using `spring-webflux` I had to set ```yaml spring: main: web-application-type: reactive ``` ... to turn this off. Removing the dependency on...

I found some interesting materials on `graphql cost analysis` - https://arxiv.org/pdf/2009.05632.pdf - https://ibm.github.io/graphql-specs/cost-spec.html

I put together a small `AOT` enabled mongock with [Spring Data sample](https://github.com/juliuskrah/graphql-demo). The most interesting classes are - [`com.example.graph.nativex.ChangeUnitBeanFactoryInitializationAotProcessor`](https://github.com/juliuskrah/graphql-demo/blob/4c5aa2836da31a5fb2a649438eed55a8649269e7/src/main/kotlin/com/example/graph/nativex/ChangeUnitBeanFactoryInitializationAotProcessor.kt#L21) - [`com.example.graph.repository.MongoDBConfiguration`](https://github.com/juliuskrah/graphql-demo/blob/7546f9e079df7e1bda2057429c27cd527c75f68e/src/main/kotlin/com/example/graph/repository/MongoDBConfiguration.kt#L31) - [`com.example.graph.repository.MongockRunnerSupport`](https://github.com/juliuskrah/graphql-demo/blob/7546f9e079df7e1bda2057429c27cd527c75f68e/src/main/kotlin/com/example/graph/repository/MongockRunnerSupport.kt#L20) - [`com.example.graph.spring.EnableMongockChangeUnit`](https://github.com/juliuskrah/graphql-demo/blob/7767c20bf91e9eaad445ad2a1d67fdc15f9545fb/src/main/kotlin/com/example/graph/spring/EnableMongockChangeUnit.kt#L23) - [`com.example.graph.spring.MongockBeanDefinitionRegistrar`](https://github.com/juliuskrah/graphql-demo/blob/7546f9e079df7e1bda2057429c27cd527c75f68e/src/main/kotlin/com/example/graph/spring/MongockBeanDefinitionRegistrar.kt#L26)

I fixed it with a PR #2