diff --git a/runtime/src/main/java/org/neo4j/ogm/quarkus/runtime/CustomConfigBuilder.java b/runtime/src/main/java/org/neo4j/ogm/quarkus/runtime/CustomConfigBuilder.java index 4eebf44..8ce3628 100644 --- a/runtime/src/main/java/org/neo4j/ogm/quarkus/runtime/CustomConfigBuilder.java +++ b/runtime/src/main/java/org/neo4j/ogm/quarkus/runtime/CustomConfigBuilder.java @@ -19,14 +19,16 @@ import io.smallrye.config.SmallRyeConfigBuilderCustomizer; /** - * Fix things. + * Config customizer to ignore validation of unmapped properties between build-time and runtime. + * * @author Michael J. Simons + * @see Neo4jOgmBuiltTimeProperties + * @see Neo4jOgmProperties */ public class CustomConfigBuilder implements SmallRyeConfigBuilderCustomizer { @Override public void configBuilder(final SmallRyeConfigBuilder builder) { - builder.withMappingIgnore("org.neo4j.ogm.**"); } } diff --git a/runtime/src/main/java/org/neo4j/ogm/quarkus/runtime/Neo4jOgmProperties.java b/runtime/src/main/java/org/neo4j/ogm/quarkus/runtime/Neo4jOgmProperties.java index d9e5ee0..cd6aff5 100644 --- a/runtime/src/main/java/org/neo4j/ogm/quarkus/runtime/Neo4jOgmProperties.java +++ b/runtime/src/main/java/org/neo4j/ogm/quarkus/runtime/Neo4jOgmProperties.java @@ -27,7 +27,7 @@ * * @author Michael J. Simons */ -@ConfigMapping(prefix = "quarkus.neo4j.ogm") +@ConfigMapping(prefix = "org.neo4j.ogm") @ConfigRoot(phase = ConfigPhase.RUN_TIME) public interface Neo4jOgmProperties {