We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the subscription contains only edges, the subscription doesnt provide live updates for delete. For create and update this works as expexted.
CREATE TABLE comments (id INTEGER PRIMARY KEY AUTOINCREMENT, content TEXT);
subscription Comment { allComemnts { edges { id content } } }
subscription Comment { allComments { nodes { id } edges { id content } } }
When row is deleted subscription data should update even if query contains only edges.
Row deletion does not update the data, unless nodes section is specified.
As a workaround you can define any column in the nodes section, like so. This will allow you to get updates on row deletes.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
If the subscription contains only edges, the subscription doesnt provide live updates for delete.
For create and update this works as expexted.
Steps to reproduce
Expected results
When row is deleted subscription data should update even if query contains only edges.
Actual results
Row deletion does not update the data, unless nodes section is specified.
Additional context
Possible Solution
As a workaround you can define any column in the nodes section, like so. This will allow you to get updates on row deletes.
The text was updated successfully, but these errors were encountered: