Closed johnmosesman closed 6 years ago
Sure, to be clear all param keys are formatted by JaSerializer in the manner you have configured (by default this is expecting dashes to be converted to underscores).
An Update to the README would be most welcome!
Hello again!
I figured this out through experimentation, but for clarity do you think in the filter section of the README there should be something describing the dash-to-underscore transition?
For example I set up my filter function like this:
http://localhost:4000/api/posts?filter[user-id]=1
And it wasn't being called. Didn't realize "user-id" was "user_id" when it hit
filter/4
.If you disagree feel free to close!