Fork me on GitHub
#pathom
<
2021-06-01
>
jmayaalv15:06:56

we are getting some unexpected errors with the latest changes to error handling. ex:

[{[:edge.account/code "account-1"]
  [{:edge.account/contracts
    [:edge.contract/code :edge.money/currency]}]}]
=>
{[:edge.account/code "account-1"]
 {:com.wsscode.pathom3.connect.runner/attribute-errors
  {:edge.account/contracts
   {:com.wsscode.pathom3.error/error-type
    :com.wsscode.pathom3.error/node-errors,
    :com.wsscode.pathom3.error/node-error-details {}}},
  :edge.account/contracts
  [{:edge.contract/code "contract-1",
    :edge.money/currency
    #object[Object [TaggedValue: unknown, #currency "USD"]]}]}}
what am i missing? the attrs were found, so why the errors?

wilkerlucio15:06:04

this might be a bug, I can look into that in a few hours

wilkerlucio15:06:19

can you open an issue on pathom 3 repo please?

jmayaalv16:06:41

sure, will do

jmayaalv06:06:11

Thanks a lot @U066U8JQJ tried and working and expected. we don't use placeholders much yet but I'll check if we can run some tests.