You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This way we don't need the wrapWith: {...} and endpoint: String
and playground: Boolean arguments in the configuration object.
And gives us more flexibility and control over handling execution
exceptions.
I believe graphql doesn't need a plugin. Instead, it needs a
routing extension just like the
get
andpost
extensions.For example:
This way we don't need the
wrapWith: {...}
andendpoint: String
and
playground: Boolean
arguments in the configuration object.And gives us more flexibility and control over handling execution
exceptions.
I made a library/utility implementing this design
https://github.com/lsafer/kgraphql-ktor
In this library I implemented the described design.
Additionally, I fixed serialization issues and error
handling.
The text was updated successfully, but these errors were encountered: