graphql

emccue 2022-01-27T21:18:40.081349Z

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

emccue 2022-01-27T21:18:56.677209Z

We have some opaque domain objects which are records

emccue 2022-01-27T21:19:17.422229Z

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

orestis 2022-01-28T04:18:24.838799Z

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

emccue 2022-01-29T18:00:44.162019Z

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

emccue 2022-01-29T18:01:02.696119Z

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

emccue 2022-01-29T18:01:22.358199Z

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

emccue 2022-01-27T21:19:31.687499Z

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