Skip to content

Commit b63b461

Browse files
Follow changes in data-commons AOT support.
Closes: #3045
1 parent 46e3a92 commit b63b461

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/org/springframework/data/neo4j/aot/Neo4jManagedTypesBeanRegistrationAotProcessor.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import org.springframework.aot.generate.GenerationContext;
2121
import org.springframework.core.ResolvableType;
22+
import org.springframework.data.aot.AotContext;
2223
import org.springframework.data.aot.ManagedTypesBeanRegistrationAotProcessor;
2324
import org.springframework.util.ClassUtils;
2425

@@ -45,13 +46,13 @@ boolean isNeo4jManagedTypes(@Nullable Class<?> beanType) {
4546
}
4647

4748
@Override
48-
protected void contributeType(ResolvableType type, GenerationContext generationContext) {
49+
protected void contributeType(ResolvableType type, GenerationContext generationContext, AotContext aotContext) {
4950

5051
if (Neo4jAotPredicates.IS_SIMPLE_TYPE.test(type.toClass())) {
5152
return;
5253
}
5354

54-
super.contributeType(type, generationContext);
55+
super.contributeType(type, generationContext, aotContext);
5556
}
5657

5758
}

0 commit comments

Comments
 (0)