Skip to content

Help: neat way to add other things to schema #64

@molexx

Description

@molexx

JPA is working well but we need to add other (non-JPA generated) functionality to the service too.

A simple way looks to be to use jpa-annotations to annotate a method:

https://github.com/Enigmatis/graphql-java-annotations#fields

jpa-annotations that requires that the GraphQLObjectType it builds be passed to schemaBuilder.query() but that is already called by GraphQLJpaSchemaBuilder and cannot be called twice.

Any suggestions on how we might go about merging these in a clean way please?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions