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
There are no use of any mappers or anything here (to_query simply turns articlenumber: 1 to &articlenumber=1). Since find_all_by simply turns whatever you give it to query parameters, it not only supports attributes, but filters, sorting, searching, limits & offsets as well as pagination. That is why we need to pass articlenumber and not article_number to the find-method. Whether we should change that or not is open for discussion :)
The text was updated successfully, but these errors were encountered:
The correct implementation is that the to_query method actually uses the mapper and that we also drop any attributes sent in that are not tagged as "filterable" in the options (see the #121 PR).
From #113
The text was updated successfully, but these errors were encountered: