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
{{ message }}
This repository has been archived by the owner on Feb 12, 2025. It is now read-only.
Trying to apply a custom filter to reduce the size/latency of a response.
After configuring Serel,
this works: Serel::Question.pagesize(3).fromdate(1356998400).tagged('simple_form').get
and Serel::Question.pagesize(3).fromdate(1356998400).tagged('simple_form').filter(:withbody).get works.
Fixed this issue locally so the request succeeds (for some reason the code would only handle singular nested responses), but I need to do some work on how to handle associations with the same name as a method on the instance when they are populated.
Trying to apply a custom filter to reduce the size/latency of a response.
After configuring Serel,
this works: Serel::Question.pagesize(3).fromdate(1356998400).tagged('simple_form').get
and Serel::Question.pagesize(3).fromdate(1356998400).tagged('simple_form').filter(:withbody).get works.
On the SE API /questions page this works:
https://api.stackexchange.com/docs/questions#fromdate=2013-01-01&order=desc&sort=activity&tagged=simple_form&filter=!-MBf-2IprHLnCh08L)HogtE1SgfIQvyaB&site=stackoverflow
but neither
Serel::Question.pagesize(3).fromdate(1356998400).tagged('simple_form').filter("!-MBf-2IprHLnCh08L)HogtE1SgfIQvyaB").get
or using :"!-MBf-2IprHLnCh08L)HogtE1SgfIQvyaB" or :!-MBf-2IprHLnCh08L)HogtE1SgfIQvyaB work.
How do I pass my custom filter to Serel?
The text was updated successfully, but these errors were encountered: