Skip to content

Description is not inherited from the parent class #167

Closed
@anotender

Description

@anotender

Description is not inherited from the parent class when the @GraphQLDescription annotation is put on getter. The following error is visible in logs:
class 'x.y.z.ChildClass' contains method 'getValue' which is an accessor for a Field named 'value', error getting the field
It looks like GraphQLJpaSchemaBuilder#getSchemaDescription does not look for the superclass properties while fetching the field descriptions. We should probably change the GraphQLJpaSchemaBuilder#getFieldByAccessor method a little bit just to consider parent properties while getting description data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions