Skip to content

Commit

Permalink
fix(specification-storage): serealized specification update request s…
Browse files Browse the repository at this point in the history
…hould contain type (#80)

Related: MRSPECS-60
  • Loading branch information
psmagin authored Oct 4, 2024
1 parent 7737c8b commit 74a73e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
@Data
@JsonTypeInfo(
use = Id.NAME,
property = "definitionType"
property = "definitionType",
visible = true
)
@JsonSubTypes({
@Type(value = SubfieldUpdateRequestEvent.class, name = "SUBFIELD")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ public SubfieldDtoCollection findFieldSubfields(UUID fieldId) {
);
}

@Transactional
public SubfieldDto saveSubfield(UUID specificationId, String fieldTag, SubfieldDto dto) {
log.debug("saveSubfield::dto={}", dto);
return doForFieldOrFail(specificationId, fieldTag,
Expand Down

0 comments on commit 74a73e7

Please sign in to comment.