graphql 2022-01-27

What is the idiomatic way to pass a non map as the value in a resolver?

We have some opaque domain objects which are records

And the fact that fields can be accessed directly is being detected and bypassing the resolver

Are you defining a resolver that's not being called? That's very surprising behavior.

This turned out to be a false alarm - kinda - in the particular context we missed a :resolver that should have been :resolve

but if our opaque object was sequable there was still an issue

i think we’ve centered on a pattern for it though, so its not a big deal right now

(which should be calling the domain function to extract the property, not use the key directly)