diff --git a/serde-api/src/main/java/io/micronaut/serde/config/annotation/SerdeConfig.java b/serde-api/src/main/java/io/micronaut/serde/config/annotation/SerdeConfig.java index 5b7617a45..fe752c576 100644 --- a/serde-api/src/main/java/io/micronaut/serde/config/annotation/SerdeConfig.java +++ b/serde-api/src/main/java/io/micronaut/serde/config/annotation/SerdeConfig.java @@ -16,6 +16,7 @@ package io.micronaut.serde.config.annotation; import io.micronaut.context.annotation.Executable; +import io.micronaut.core.annotation.BuildTimeInit; import io.micronaut.core.annotation.Internal; import java.lang.annotation.ElementType; @@ -348,6 +349,7 @@ enum DiscriminatorType { /** * The discriminator value kind. */ + @BuildTimeInit("io.micronaut.serde.config.annotation.SerdeConfig$SerSubtyped$DiscriminatorValueKind") enum DiscriminatorValueKind { CLASS_NAME, CLASS_SIMPLE_NAME, NAME, MINIMAL_CLASS }