Skip to content

Commit

Permalink
use simple name
Browse files Browse the repository at this point in the history
  • Loading branch information
evanchooly committed Aug 19, 2024
1 parent cadc9fc commit 18c3113
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void apply(Mapper mapper, EntityModel model) {
model.annotation(entity);
}

model.discriminator(config.discriminator().apply(model.getType().getName(), entity.discriminator()));
model.discriminator(config.discriminator().apply(model.getType().getSimpleName(), entity.discriminator()));
}

public static String applyDefaults(String configured, String defaultValue) {
Expand Down

0 comments on commit 18c3113

Please sign in to comment.