You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't even know if this repo is still active, but it's worth a shot.
I have a "loaded" hook on a model that uses this mixin in which i calculate some properties and assign it to ctx.data, it works well in the project but when it comes to the aggregate functions seems to be not working, any idea what could it be?
I couldn't verify if the problem is that the loaded event isn't being fired or if the data is not persisted trough the flow but I suspect it's the first case
Anyway, if you have any more insight on what could it be causing this, it would be much appreciated, btw it's a great mixin, thanks for developing it
The text was updated successfully, but these errors were encountered:
Hi Gianluca. Thanks for your interest in this mixin.
I agree with you that probably loaded hook is not being fired.
Personally I had many issues in the past with hooks in my LB3 projects, so I usually avoid them and replace by methods strategically called in the right places (it also gives me more control of what's happening).
Unfortunately there are no plans to mantain this repository, so I could not verify it.
However if you make some progress, please let me know.
I don't even know if this repo is still active, but it's worth a shot.
I have a "loaded" hook on a model that uses this mixin in which i calculate some properties and assign it to ctx.data, it works well in the project but when it comes to the aggregate functions seems to be not working, any idea what could it be?
Here some code:
this is the hook:
And this is the remote method aggregation which doesn't seem to be keeping the properties i set in the hook:
I couldn't verify if the problem is that the loaded event isn't being fired or if the data is not persisted trough the flow but I suspect it's the first case
Anyway, if you have any more insight on what could it be causing this, it would be much appreciated, btw it's a great mixin, thanks for developing it
The text was updated successfully, but these errors were encountered: