graphql-jpa-query: After update from `0.3.28` to `0.3.33` got errors

After update from 0.3.28 to 0.3.33 got errors has below


graphql.AssertException: All types within a GraphQL schema must have unique names. No two provided types may have the same name.
No provided type may have a name which conflicts with any built in types (including Scalar and Introspection types).
You have redefined the type 'LocalDate' from being a 'GraphQLScalarType' to a 'GraphQLScalarType'

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Comments: 24 (6 by maintainers)

Most upvoted comments

@igdianov I found the problem because of method isTransient() no @Transient check

Current is

           public boolean isTransient() {
                return !attribute.isPresent();
            }

Change to

           public boolean isTransient() {
                return !attribute.isPresent() && isAnnotationPresent(Transient.class);
            }