Chetan Dihenia
Chetan Dihenia

Reputation: 11

Helidon: GraphQL with @stream and @defer annotations

I am working on a GraphQL API using Helidon MP and looking to confirm that directives @ stream and @defer are supportable. These annotations are documented in the GraphQL blog.

We tried the GraphQL @stream and @defer annotations but they are not working. We could make it work in Apollo server.

Upvotes: 1

Views: 120

Answers (1)

Tim Quinn
Tim Quinn

Reputation: 211

I am by no means an expert in our (Helidon's) GraphQL support. I do know that we support the MicroProfile GraphQL 2.0 spec (documentation). After a quick read of that I do not see any mention of @defer or @stream, nor do I find references in our codebase to those. So I do not think our Helidon implementation supports these.

I have also confirmed with a colleague who is closer to our GraphQL support that Helidon's GraphQL support does not include @defer or @stream. You can make an enhancement request in the Helidon GitHub project, and we can evaluate it for inclusion.

Upvotes: 0

Related Questions