Skip to content

Commit

Permalink
[Fix] Serialize parentTerms before subTerms to ensure stable processi…
Browse files Browse the repository at this point in the history
…ng order compatible with reference resolution on client.
  • Loading branch information
ledsoft committed Jun 10, 2024
1 parent 85c25bb commit b65f74e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cz/cvut/kbss/termit/dto/listing/TermDto.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* Contains fewer data than a regular {@link cz.cvut.kbss.termit.model.Term}.
*/
@OWLClass(iri = SKOS.CONCEPT)
@JsonLdAttributeOrder({"uri", "label", "subTerms"})
@JsonLdAttributeOrder({"uri", "label", "parentTerms", "subTerms"})
@JsonIgnoreProperties({"definition", "persistenceContext"})
public class TermDto extends AbstractTerm {

Expand Down

0 comments on commit b65f74e

Please sign in to comment.