pedestal

asilverman 2019-01-02T18:13:26.005700Z

good morning and happy new year clojurians, I was hoping it would be ok to ask you a question. I’m looking to implement a jasonapi complient microservice using pedestal but I’m faced with a challenge, I am not sure pedestal supports filtering and pagination in the way that the jsonapi standard defines it (i.e. filter[name]&page[3] - https://jsonapi.org/format/#fetching-pagination). Is this feature to parse multimap queryparams available in pedestal?. Thank you #pedestal

2019-01-02T19:42:24.007200Z

@ariel.silverman AFAIK, those parameters will result in a params map of {:filter[name] nil :page[3] nil}.

2019-01-02T20:14:55.007900Z

@ariel.silverman, as of now you’d need to create an interceptor to do that transformation for you