After clicking the text extension button in Hasura Cloud, the error "Must have at least one of $set, $inc, and $mul" occurs when modifying it.
See original GitHub issueVersion Information
Server Version: CLI Version (for CLI related issue): 2.15.0 (2.15.0-cloud.1)
Environment
Cloud
What is the current behaviour?
Click Collapse in Hasura Console to modify and save column data
Edit failed!
atleast one of $set, $inc, $mul has to be present
An error occurs. We didn’t have this problem in the past, but now we have this problem and we’re having trouble putting data in.
What is the expected behaviour?
When you insert and modify text, data should be entered in the Collapse manner normally. If you do not use Collapse, it will be corrected normally.
How to reproduce the issue?
1.Select columns to change after accessing Hasura Cloud 2.Click Collapse on the Modify tab and enter data 3.Error when inserting data and pressing Save
Screenshots or Screencast
When you are not using Collapse
Please provide any traces or logs that could help here.
Edit failed!
atleast one of $set, $inc, $mul has to be present
Any possible solutions/workarounds you’re aware of?
Keywords
Hasura Cloud, Collapse
Issue Analytics
- State:
- Created 10 months ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Top GraphQL Errors and How to fix them
GraphQL is strongly typed and it performs validation of all queries before executing them. It can reject a query if it is invalid...
Read more >Handling GraphQL Errors with Hasura & React
A guide to common GraphQL API & Hasura specific errors and how to handle them with React pages.
Read more >Types of Realtime GraphQL Subscriptions - Hasura
In this post, we will look into the different approaches to real-time GraphQL subscriptions and walk you through the ones that Hasura ......
Read more >Adding REST endpoints to Hasura
To create a REST endpoint from a query or mutation, you first create a named query/mutation in the GraphiQL API explorer, then press...
Read more >Allow List of operations | Hasura GraphQL Docs
The Allow List is a list of safe operations (GraphQL queries, mutations or subscriptions) that is stored by the GraphQL Engine in its...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@adas98012
Wow! I just put data in my production server. The data was successfully INSERTed without any errors. Thank you for your quick handling of the Hasura Team!
Have a nice day. I think this issue has been resolved perfectly, so I think you can close this issue. Thank you. Have a nice day 😃
@jieey1140 Our engineering team has identified the issue and deployed a code fix. I retested it and couldn’t see the earlier error anymore. Can you please check and let us know ?