pathom

roklenarcic 2026-04-19T17:16:06.850869Z

hey sometimes I have data that has legit nil value in an attribute. So if I am not mistaken nil value for an attribute signals to pathom that resolver didn’t resolve the attribute and that it should find another resolver for the attribute or throw? Is there a way around that?

Gareth Stephenson 2026-04-24T07:27:36.110609Z

There's a keyword ::pco/unknown-value which you can substitute for nil values

2026-04-19T17:40:30.914019Z

you can use nil as a value and pathom will consider it resolved. to tell pathom the attribute couldn't be resolved, you have to either omit the key from the response or set its value to a sentinel keyword that I can never remember off the top of my head... :<something something>/not-found