Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add serialized information to queryParamsState #47

Merged
merged 1 commit into from
Dec 1, 2017

Conversation

mazondo
Copy link
Contributor

@mazondo mazondo commented Nov 30, 2017

Quick attempt at resolving this issue: #41

The use case for us is that we're trying to generate canonical/next/prev links for fastboot rendered pages. Unfortunately, the new router service in ember doesn't serialize values correctly when used with ember-parachute, so you can't just pass values into the this.get('router').urlFor() method.

Now, we're pulling the queryParamsState value and building an object of changed values and passing that into the urlFor method.

@kiwiupover
Copy link

Looks great! Thanks @mazondo

@offirgolan
Copy link
Owner

Thanks for this PR @mazondo! 😄

@offirgolan offirgolan merged commit 76007b8 into offirgolan:master Dec 1, 2017
@offirgolan
Copy link
Owner

Released with v0.3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants