Conversation
|
Instead of exposing internals, how would you feel about adding the |
|
Yes, I think it can probably be factored into something prettier but I'm not 100% sure what I need yet, beyond the ability to make fetch fail. So I'd like to make this minimal change for now and perhaps revisit. |
|
How are you thinking about representing failures within |
|
I'm fine with |
|
Yes, the error will go back to the client with an explanation that their query was too complex. The alternative is to raise a special exception and catch it up top and turn it into a result, which is less appealing. |
|
I'm still a little uncomfortable with this ... everything GraphQL related has been eliminated from the arguments and results of I'm more than happy to merge the part that exposes the |
This changes
SqlModule.fetchto yield aResult, which allowsfetchto fail with cleanly (we are overridingfetchto fail on excessively large rowsets and prefer not to use an exception for this).This also pulls out
rowDecoderinSkunkMappingto allow access by overriddenfetchimplementations.