ember-redirect icon indicating copy to clipboard operation
ember-redirect copied to clipboard

Handling Query Params

Open alexlafroscia opened this issue 9 years ago • 2 comments

Is there currently any way to handle the need to convert a dynamic segment to a query param when doing the redirect? If not, is this something you might be interested in a PR for? If we can decide on the user-facing API for that, I would be interested in putting together a PR for it.

alexlafroscia avatar Aug 25 '15 17:08 alexlafroscia

Currently there is not a way to do this but that would be an awesome PR! Let me know if you need any help or to bounce any ideas off of.

thoov avatar Aug 25 '15 23:08 thoov

I needed to implement something today, so I was looking into it a bit. It seems like it would be pretty easy to translate the exact query params from one route to another, but what might it look like if you needed to change them? We'd need to go beyond simple key: value, but probably open the value up to being an object or something like that...

alexlafroscia avatar Aug 26 '15 03:08 alexlafroscia