-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
Description
🐞 Describe the Bug
this.router.urlFor('route-name', {
filter: {
user: {
name: 'yay!'
}
}
});
Produces a url of ?filter=%5Bobject%20Object%5D.... Same issue with this.router.replaceWith and probably other methods
🔬 Minimal Reproduction
See tests here - https://github.com/emberjs/ember.js/blob/21bd70c773dcc4bfe4883d7943e8a68d203b5bad/packages/ember/tests/routing/router_service_test/urlFor_test.js
😕 Actual Behavior
?filter=%5Bobject%20Object%5D
🤔 Expected Behavior
?filter=[user][name]='yay!'
🌍 Environment
- Ember: -
- Node.js/npm: -
- OS: -
- Browser: -
CvX, kiwiupover and scottmessinger