Skip to content

Commit

Permalink
ignore transients in crd gen
Browse files Browse the repository at this point in the history
  • Loading branch information
euberseder-hubspot committed Dec 15, 2023
1 parent 9063089 commit 1126a67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ private T internalFromImpl(TypeDef definition, Set<String> visited, List<Interna

for (Property property : definition.getProperties()) {
String name = property.getName();
if (property.isStatic() || ignores.contains(name)) {
if (property.isStatic() || property.isTransient() || ignores.contains(name)) {
LOGGER.debug("Ignoring property {}", name);
continue;
}
Expand Down

0 comments on commit 1126a67

Please sign in to comment.