absinthe
absinthe copied to clipboard
blueprint inside telemetry events comes out as Inspect.Error when in IEx
Environment
- Elixir version (elixir -v): 1.13.3
- Absinthe version (mix deps | grep absinthe): 1.7
- Client Framework and version (Relay, Apollo, etc): GraphiQL Interface
Expected behavior
We get the blueprint struct instead of an Inspect.Error
Actual behavior
Inspect.Error
on the blueprint
field in the [:execute, :operation, :stop]
event when using fragments or subscriptions
Relevant Schema/Middleware Code
In an iex shell when printing it out you get
%Inspect.Error{
message: "got MatchError with message \"no match of right hand side value: %Absinthe.Blueprint{adapter: Absinthe.Adapter.LanguageConventions, directives: [], errors: [], execution: %Absinthe.Blueprint.Execution{...}...
},
I could not reproduce this. Do you have a step by step guide on getting this error?
This is likely related to another bug but we will need to see a more concrete schema example that reproduces this to narrow it down a bit more
I can send a example schema since it happens on any request in our app, just OOO this week but I'll be back in Monday