mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-07 23:16:38 +00:00
feat(datahub) Remove serialVersionUID from constructor (#12150)
This commit is contained in:
parent
825309ef5d
commit
99ce309b37
@ -232,6 +232,10 @@ public class AuthorizationUtils {
|
|||||||
try {
|
try {
|
||||||
Object[] args =
|
Object[] args =
|
||||||
allFields.stream()
|
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(
|
.map(
|
||||||
field -> {
|
field -> {
|
||||||
// properties are often not required but only because
|
// properties are often not required but only because
|
||||||
|
Loading…
x
Reference in New Issue
Block a user