Subscription for delete not working when scalar lists are present #838
Comments
I could not reproduce this issue in my own project. We're looking closer into @cameronrll project directly. If someone can reproduce this in a new project, please share it here 🙂 |
@marktani I have the same issue.
The above subscription triggers just fine on update and created, but it does not work for deleted events. Let me know if there is anything I can do to make it easier for you to debug. |
I'd be very interested to reproduce this in a new project. We're already looking into existing projects that show this behaviour to learn more about this. |
@marktani my project is fairly new - but I can try to set up a new test project - or would cloning the existing one count as a "new" project? |
No. If you could provide a
to reproduce this behaviour, that would be awesome 🙂 I was not able to come up with one. |
@marktani we believe we have tracked down the issue here. Once we removed
all worked as expected, and we could listen to the delete event. We've tried this both in a new and old project and the result seems to be the same. Adding a [String!] field to any schema which could previously have the delete event picked up caused it to stop working Adding new data once the change had been made, meant the new data (created after the addition of [String!]) would not be picked up when deleted, but data before the addition of the [String!] field to the schema would be picked up |
Also the form
also seems to cause the same issues with the delete event |
This should be fixed. |
Subscription for delete is not working for only one of my schemas. This does not work in both my app and the playground
Schema: (names changed)
subscription
I am not sure if this is a bug on my end or with graph.cool, however if I change the schema this sub is attached to, e.g. MyModel -> Messages it works as expected.
Any help would be great, thank you.
The text was updated successfully, but these errors were encountered: