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
Absinthe version (mix deps | grep absinthe): 1.7.0
Client Framework and version (Relay, Apollo, etc): n/a
Expected behavior
mix dializer to recognize "subscribed" as a valid return key for Absinthe.run/3
Actual behavior
lib/subscription.ex:69:pattern_matchThe pattern can never match the type.Pattern:
{:ok,%{<<115,117,98,115,99,114,105,98,101,100>>=>_topic}}Type:
{:error,binary()}|{:ok,%{:data=>nil|%{binary()=>atom()|binary()|[map()]|number()|map()},:errors=>[%{:message=>binary(),:locations=>[%{:column=>integer(),:line=>pos_integer()}]}]}}
Environment
Expected behavior
mix dializer
to recognize"subscribed"
as a valid return key forAbsinthe.run/3
Actual behavior
This is the
Absinthe.run_result()
type which doesn't expect to return a "subscribed" key as described in the Understanding Subscriptions Guide.Relevant Schema/Middleware Code
The text was updated successfully, but these errors were encountered: