Skip to content

Commit

Permalink
Merge pull request #5 from protegeproject/form-fix-EntityNameControlD…
Browse files Browse the repository at this point in the history
…ataDto-serialization-mismatch

Fix the serialization of EntityNameControlDataDtos
  • Loading branch information
matthewhorridge authored Jun 16, 2024
2 parents 9acda6b + d3304ce commit 8a79d62
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public abstract class EntityNameControlDataDto implements FormControlDataDto {

@JsonCreator
public static EntityNameControlDataDto get(@JsonProperty("descriptor") @Nonnull EntityNameControlDescriptor descriptor,
@JsonProperty("entityData") @Nonnull OWLEntityData entityData,
@JsonProperty("entity") @Nonnull OWLEntityData entityData,
@JsonProperty("depth") int depth) {
return new AutoValue_EntityNameControlDataDto(depth, descriptor, entityData);
}
Expand All @@ -29,7 +29,7 @@ public static EntityNameControlDataDto get(@JsonProperty("descriptor") @Nonnull
public abstract EntityNameControlDescriptor getDescriptor();

@Nullable
@JsonProperty("term")
@JsonProperty("entity")
protected abstract OWLEntityData getEntityInternal();

@JsonIgnore
Expand Down

0 comments on commit 8a79d62

Please sign in to comment.