Get in serialize (normalize) params passed with store.queryRecord


Hi, I’m sure it’s impossible, but I will ask to be sure. I have a serialize where I have normalize function, so what I want is, create an ID(, but ID should be some query params I send to server.

Example: let params = {query1: ‘bla’, query2: ‘blabla’}; promQuery =‘comparetimeframe’, params);

So this params I should have in my normalize function.

Any ideas?


I don’t think you’ll have access to query params in your serializer. You’ll probably need to override queryRecord in the adapter so that you can intercept the response and generate ids based on the query params.


Got it, I can return the promise

thanks :slight_smile: