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
graphql-ws expects ErrorMessage on error, and Absinthe.GraphqlWS.Message.Error supports providing it, but Absinthe.GraphqlWS.Transport.handle_inbound uses handle_init callback return only as error id.
I think this library has two paths to resolve this:
Add possibility to add payload provided by developer (expect handle_init return something like {:error, {id, payload}, socket})
Generate error inside this library
The text was updated successfully, but these errors were encountered:
graphql-ws expects ErrorMessage on error, and
Absinthe.GraphqlWS.Message.Error
supports providing it, butAbsinthe.GraphqlWS.Transport.handle_inbound
useshandle_init
callback return only as error id.I think this library has two paths to resolve this:
handle_init
return something like{:error, {id, payload}, socket}
)The text was updated successfully, but these errors were encountered: