Skip to content

Commit

Permalink
validate if attrName exists in appendRelationshipAttribute
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshi0301 committed Dec 27, 2023
1 parent 25eb998 commit 1ab182a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,12 @@ public boolean hasRelationshipAttribute(String name) {
return r != null ? r.containsKey(name) : false;
}

public boolean hasAppendRelationshipAttribute(String name) {
Map<String, Object> r = this.appendRelationshipAttributes;

return r != null ? r.containsKey(name) : false;
}

public Map<String, String> getCustomAttributes() {
return customAttributes;
}
Expand Down

0 comments on commit 1ab182a

Please sign in to comment.