Open LexxFedoroff opened 3 months ago
Hm. I thought about this case.
This block should do the stuff https://github.com/logux/client/blob/main/create-filter/index.js#L280-L291
Can you investigate why it doesn’t work?
I've investigated and I think the problem comes from the commit https://github.com/logux/client/commit/e2dac178fc7b62b9fde8fdb27f4764cd4c54883b Currently, the sync map is created from the last received action but this action doesn't contain all necessary fields. @euaaaio what do you think?
I won't be able to review it closely today.
I only remember that we had a problem with the implementation, which was somehow very different from how it was designed. Could it be that the bug is in the example repository?
Could it be that the bug is in the example repository?
not sure, I think the bug is in the createFilter
method
I'm a newbie in the logux framework and I don't know exactly how it should work but I see two options:
the second option was implemented before the commit https://github.com/logux/client/commit/e2dac178fc7b62b9fde8fdb27f4764cd4c54883b and I tend that was correct
Hello, I've debugged this issue https://github.com/logux/examples/issues/21 and found that there is a bug in the filters. I can reproduce it with a simple test:
I want to fix it but I need some information on how that should work. As I understand we need to accumulate log actions for an object until we receive the fields required for a filter. What is the best way to achieve this? Version: 0.21.1