Skip to content
Snippets Groups Projects
Unverified Commit e703e3a0 authored by Luc Everse's avatar Luc Everse :passport_control:
Browse files

Annotate recursive methods as JsonIgnore

parent acd8272a
No related branches found
No related tags found
2 merge requests!148Release 2.3.0,!127Feedback hiding
......@@ -25,6 +25,7 @@ public class Entity {
* The parent of this entity.
*/
@Nullable
@JsonIgnore
private transient Entity parent;
/**
......@@ -194,6 +195,7 @@ public class Entity {
* @return the parent of this entity
*/
@Nullable
@JsonIgnore
public Entity getParent() {
return this.parent;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment