Issue Description: What’s happening?
When using the following subscription with the SDK I get an unknown error back when a mutation occurs.
subscription ($id: ID!) {
Forms(filter: {
node: { id: { equals: $id}}
mutation_in: [update]
}) {
node { id }
updatedFields
mutation
}
}
Reproduce the Issue: What steps can someone take to replicate the problem?
- Set up the sdk (or a ws client)
- Open a subscription
api.subscription(<schema above>, {
variables: { id: "123"},
data: console.log,
error: console.error,
})
- Make an update on a form record
- An error comes back as a log
{code: "undefined"
details: {error: "Something went wrong. Please contact support@8base.com."}
message: "Something went wrong. Please contact support@8base.com."}
Expected Behavior: What did you expect to happen?
To get the mutation event.
Actual Behavior: What actually happened?
An unknown error occurs.
Keep me posted, looking forward to using subscriptions. We’d like to show off features based on it in a few days to partners.
Thanks for the help,
Gabin