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
Note that I split the filters to see what happens when I change the format of the local one to find one that works.
The data fetched is properly filtered, so the fetchFilter works just fine.
Now here's the weird bit, when I trigger the query by changing the data filter, it starts querying the database in endless loop, it just keeps sending the query to the server infinitely.
When I comment out the ...this.localDataFilter in the local params object and trigger the query, it executes once to server, returns the correct data but of course is not filtered correctly locally by feathers-vuex.
So somehow that query property of { 'data.lookout': 'Person' } makes the query endlessly loop.
It does exactly the same for { data: { lookout: 'Person' } }, I just tried both ways to see if the formatting of the query was an issue.
Anyone want to take a stab at what the hell is going on here?!
Would appreciate some help, I'm losing my mind!
The text was updated successfully, but these errors were encountered:
Hi
I've tried everything and I've searched everywhere, this is a weird bug I can't get a handle on.
I have a
messages
model, with an abbreviated structure as follows (just showing some relevant properties):The
data
property is a JSONB column in Postgres DB. It containsRecord<string,any>
data types.I'm trying to filter based on properties in the
data
property:The
localDataFilter
andfetchDataFilter
contain the query data such as:Note that I split the filters to see what happens when I change the format of the local one to find one that works.
The data fetched is properly filtered, so the
fetchFilter
works just fine.Now here's the weird bit, when I trigger the query by changing the data filter, it starts querying the database in endless loop, it just keeps sending the query to the server infinitely.
When I comment out the
...this.localDataFilter
in the local params object and trigger the query, it executes once to server, returns the correct data but of course is not filtered correctly locally by feathers-vuex.So somehow that query property of
{ 'data.lookout': 'Person' }
makes the query endlessly loop.It does exactly the same for
{ data: { lookout: 'Person' } }
, I just tried both ways to see if the formatting of the query was an issue.Anyone want to take a stab at what the hell is going on here?!
Would appreciate some help, I'm losing my mind!
The text was updated successfully, but these errors were encountered: