Fork me on GitHub
#liberator
<
2017-06-19
>
nblumoe12:06:42

@pandeiro did you already come up with a solution? Having pretty much the same issue right now….

ordnungswidrig14:06:53

@pandeiro first option is to use a “base” map as the foundation for the resources which contains the declarations that are shared.

ordnungswidrig14:06:37

Another way is to defmethod liberator.represenation/render-item for application/json and to call a function to generate json.

pandeiro17:06:45

Yes thank you @ordnungswidrig -- the second option would definitely be ideal, I will look into that

pandeiro19:06:23

I think render-map-generic and render-seq-generic are actually the methods I want to override