Skip to content

support for subscriptions #309

Open
Open
@markhamnr

Description

@markhamnr

Am I wrong in thinking that subscriptions aren't supported currently?

The README implies that they are, or at least it mentions registering a Subscription class as well as a Query class and a Mutation class.

But I can't see any examples, nor can I get it to work myself. The GraphQL Java site says that a subscription should return a Publisher, but when I try that with AnnotationsSchemaCreator I get an InvalidSchemaException: "Publisher" must define one or more fields.

Is there a way to handle subscriptions I haven't figure out yet? Or if not, is this something that could be added?

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