Description
Updating from 0.3.13 version to 0.3.17 returns NullPointerException
. When class GraphQLJpaSchemaBuilder
tries to search for @Transient
, class IntrospectionUtils
tries to read all the methods that have name start with get
or set
. Whenever the Entity
class contains methods that have prefix get
or set
then it will try to find that properties. If the properties are not found then IntrospectionUtils
will return NullPointerException
.
There are cases that method names that start with get
or set
has nothing to do with properties. For example, with method getHello
, it will try to find the property name hello
. But there is no hello
property in this entity. getHello
method is not intended for get hello
properties.
We tried to have Beans @Transient
annotated on the method, but we still got NullException
error.