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

Breaking: Make navi more compatible with Ember 3.x apps #321

Merged
merged 4 commits into from Feb 21, 2019

Conversation

mtgraham
Copy link
Contributor

The dynamic segments of the routes should be in snake case for Ember 3.

Also there was an issue with setting the report state. The issue is that the contract for the transition.send function changed. The first argument in the function definition is ignoreFailure which used to be defined as a boolean. So I think since we were calling transition.send and passing a string as the first argument, the compiler would know that the string wasn't meant to be assigned to ignoreFailure. There was a change recently that no longer defines ignoreFailure as a boolean, but gives it a default value of false. Now that means that when we pass a string as the first argument, that string gets passed as ignoreFailure to transition.send and everything blows up. The issue I mentioned says that they solved the issue by bumping up the version of router_js, but the line still has the default value and not a boolean specified like it did before. So for now, we will pass false as the first parameter to transition.send.

@jkusa
Copy link
Contributor

jkusa commented Feb 20, 2019

Can we break this into multiple commits?

@mtgraham
Copy link
Contributor Author

@jkusa Done

@mtgraham mtgraham merged commit 40729eb into master Feb 21, 2019
@mtgraham mtgraham deleted the fix-for-3.8-apps branch February 21, 2019 20:10
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.

None yet

3 participants