graphql-rust / juniper

GraphQL server library for Rust
Other
5.72k stars 425 forks source link

Debugging problem #1091

Open petar-dambovaliev opened 2 years ago

petar-dambovaliev commented 2 years ago

Check this code out. It seems to me that it would be nicer, if more information was included in the panic. Since introducing a Debug requirement on GraphQLValue would be a breaking change, so we can have a conversation about how to do it. But it is really a problem for me, because i have a bug and i don't know which type it is coming from.

tyranron commented 2 years ago

@petar-dambovaliev I'm going to cut such corner cases off with new machinery design in #1072, which won't contain such panics.