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
JSON:API is agnostic about the strategies supported by a server. The filter query parameter can be used as the basis for any number of filtering strategies.
The filter params can be represented only like filter[field1]=value&filter[field2]=val1,val2
But my strategy requires a more flexible form like filter[field1][like]=foo&filter[field2][lt]=100&filter[field2][gt]=5 (or even with more condition depth)
Right now is not possible even to override this method, because queryString property is private
If you are interested in solving this problem, we can discuss ways to fix it and I can create a PR
The text was updated successfully, but these errors were encountered:
Insolita
added a commit
to Insolita/yang
that referenced
this issue
Nov 9, 2020
Uh oh!
There was an error while loading. Please reload this page.
Accordingly JsonApi specification
Current JsonApiRequestBuilder realization restrict filter strategy https://github.com/woohoolabs/yang/blob/master/src/JsonApi/Request/JsonApiRequestBuilder.php#L258
The filter params can be represented only like
filter[field1]=value&filter[field2]=val1,val2
But my strategy requires a more flexible form like
filter[field1][like]=foo&filter[field2][lt]=100&filter[field2][gt]=5
(or even with more condition depth)Right now is not possible even to override this method, because queryString property is private
If you are interested in solving this problem, we can discuss ways to fix it and I can create a PR
The text was updated successfully, but these errors were encountered: