-
I am using superjson transformer. // from trpc-playground await mutation('user.signUp',{
data: {
password: "123",
name: "123213",
email: "[email protected]"
}
}) It throws below are few observations from console.logging POST /trpc/user.signUp {
'0': {
data: { password: '123', name: '123213', email: '[email protected]' }
}
}
{ bodyResult: { ok: true, data: { '0': [Object] } } }
{ rawInput: { '0': { data: [Object] } }, type: 'object' }
// within `getInputs` and before `deserializeInputValue`
{
rawValue: {
data: { password: '123', name: '123213', email: '[email protected]' }
},
type: 'object'
}
// after `getInputs`
{ inputs: { '0': undefined } } |
Beta Was this translation helpful? Give feedback.
Answered by
KATT
Mar 24, 2022
Replies: 1 comment 6 replies
-
Sorry, what is the question? Please make a reproduction issue. I find it very unlikely that basic mutations would be broken, they're tested hundreds of times |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
af4oz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry, what is the question?
Please make a reproduction issue.
I find it very unlikely that basic mutations would be broken, they're tested hundreds of times