-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Unable to override serializeQueryParam within route #11288
Comments
I'm seeing the same behavior using Ember 2.4. The method is called, but doesn't appear to have any effect. I see several examples of using |
I see that https://github.com/emberjs/ember.js/blob/v2.10.0/packages/ember-routing/lib/system/route.js#L430 |
Any update on this? |
@denzo @ming-codes Was asking about this myself this morning. Per @rwjblue on Slack, this may not be public but it's at least "intimate API" (i.e. can't be broken). So probably safe to use (see #14979 for work on the router service that includes tests for it). @joshfarrant @exupero If this is still a problem for you, it'd be quite helpful to get a reproduction on Twiddle so we can check this more carefully. Thanks! |
@acorncom @denzo @exupero @joshfarrant @ming-codes @mmun @pixelhandler @rwjblue @trek is this still an issue, perhaps we should close; what do you think? |
@pixelhandler given the fact that |
It seems like any overrides applied to the serializeQueryParam method in a route aren't being applied.
For example I could set
someQueryParam: 1
in the controller, then have something like this in the route (unrealistic but I'd have expected it to work):I'd expect the resulting param in the request to look something like this.
?someQueryParam=20
However it remains like this
?someQueryParam=1
Is this expected?
The text was updated successfully, but these errors were encountered: