Query params with find('model', 1)


I’ve set up sideloading in my active model serializers, so now I can do something like

render json: user, sideload: params[:sideload]

the problem is that I can’t find a way to specify query params with find. Ideally I’d like to do something like:

store.find('user', 1, { sideload: 'posts' })

but this doesn’t work. Is there any way to do it or can you only use query-params with a findQuery?