juniper
juniper copied to clipboard
Debugging problem
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.
@petar-dambovaliev I'm going to cut such corner cases off with new machinery design in #1072, which won't contain such panics.