I’m just playing with query params new
on canary and running into an issue where I want to use the de-serialized value of the params in the model
hook, but obviously the controller hasn’t been wired up at this point.
In this case it’s a date, so the query param is a string representation and the controller handles turning this into a proper date / moment and if nothing is supplied we use today instead.
Here’s a gist of what I’m trying to do: https://gist.github.com/rlivsey/d6a8e57ab60eb00d1546
Is there a way of getting to the deserialized value in the model hook, or is there another way I should be expressing this?