Graphql-yoga: Where's the documentMiddleware functionality?

Created on 12 May 2018  路  6Comments  路  Source: dotansimha/graphql-yoga

According to graphql-middleware's README there should be a documentMiddleware option in GraphQLServer, but there isn't, and the aforementioned functionality to add document-level middleware has been removed from the graphql-middleware package, under the justification that it would be moved to graphql-yoga

What happened, @maticzav?

Most helpful comment

Hey @arianon, documentMiddleware is not yet available in Yoga. We've decided to remove documentMiddleware functionality from graphql-middleware because it didn't allow us to control query execution itself, but rather only as an insufficient workaround. We'll be implementing it in Yoga in the following weeks, so stay put! 馃檪

All 6 comments

Hey @arianon, documentMiddleware is not yet available in Yoga. We've decided to remove documentMiddleware functionality from graphql-middleware because it didn't allow us to control query execution itself, but rather only as an insufficient workaround. We'll be implementing it in Yoga in the following weeks, so stay put! 馃檪

Due to inactivity of this issue we have marked it stale. It will be closed if no further activity occurs.

Hey :wave:, It seems like this issue has been inactive for some time. In need for maintaining clear overview of the issues concerning the latest version of graphql-yoga we'll close it.
Feel free to reopen it at any time if you believe we should futher discuss its content. :slightly_smiling_face:

Hey @maticzav, any progress on implementing the documentMiddleware? 馃檪

@maticzav ping

Was this page helpful?
0 / 5 - 0 ratings

Related issues

2wce picture 2wce  路  4Comments

kv-pawar picture kv-pawar  路  3Comments

bellomusodiq picture bellomusodiq  路  3Comments

ramonmulia picture ramonmulia  路  3Comments

cj picture cj  路  3Comments