Skip to content

Commit

Permalink
feat(datahub) Remove serialVersionUID from constructor (#12150)
Browse files Browse the repository at this point in the history
  • Loading branch information
bda618 authored Jan 17, 2025
1 parent 825309e commit 99ce309
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@ public static <T> T restrictEntity(@Nonnull Object entity, Class<T> clazz) {
try {
Object[] args =
allFields.stream()
// New versions of graphql.codegen generate serialVersionUID
// We need to filter serialVersionUID out because serialVersionUID is
// never part of the entity type constructor
.filter(field -> !field.getName().contains("serialVersionUID"))
.map(
field -> {
// properties are often not required but only because
Expand Down

0 comments on commit 99ce309

Please sign in to comment.