-
-
Notifications
You must be signed in to change notification settings - Fork 407
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 "bugfixes" for an eventual 3.0 #170
Comments
Computed properties without get or set readonly by default? |
Sounds more like a wishlist. |
Confirm, these are wishlist items which is why I've not promoted them into the top-post. Y'all please keep this to things that are definitely broken but we can't change without likely breaking peoples applications. For example, the params thing from my first post: query params clobber path params inside of the This list is for a very specific category of issue. |
Updated the top post to describe what we're looking for in this thread. Please review. |
|
The function signature for the existing "routing service" is distinct from the function signature of the same method name on the The existing routing service: The underlying implementation on routes: I feel like I've opened a bug on the second invocation in the past for unrelated reasons, but can't find it. We should make these consistent. |
Keep inline {{link-to Name route}} vs {{#link-to route}}
Name
{{/link-to}} The order is backwards and gets me every time I use the inline form. I'd expect: {{link-to route Name}}
{{!-- or for clarity --}}
{{link-to route label=Name}} |
Classic actions as |
@knownasilya I'm personally of the opinion that all of inline @Serabe Your proposal also doesn't meet the bar for this thread, it should almost be something that is an unintended side-effect of a feature's implementation. Both of y'all's proposals have to do with changing documented public API and that would require a deprecation and process. For future travelers if something has ever appeared in the guides there is no way it will be accepted into the top-posted list as that does not count as a bugfix. |
@nathanhammond I agree on deprecating inline Deprecate |
As the implementer of the inline |
@balinterdi My complaints are mostly that the entirety of |
@nathanhammond Ok, that makes sense. So what is it going to get replaced by? |
@balinterdi I think the plan is to decompose <a href={{url-for "foo"}} class={{active-class "foo"}}>
Name
</a> This has the added benefit that
|
@rlivsey Now this makes perfect sense, thank you for the explanation! |
What about emberjs/ember.js#14783 I'd call that a bug, even though some wouldn't. |
@nathanhammond Can we close this issue? I guess it's not relevant anymore |
These are things that are very much broken but we can't change for reasons of backwards compatibility. This list is for a very specific category of issue. These should tend toward mechanical changes.
For example, query params clobber path params inside of the
params
object passed to themodel
hook. These should be separated into different keyspaces. This is breaking because it will change how people need to access query params and it's even possible that somebody was relying upon the clobbering behavior. However, with moving toward isolated query param behavior this tremendously reduces the complexity of the problem, skirts around different behaviors withrefreshModel
and simply setting a controller property, and makes the entire process more easily understood.As a second example, query strings are serialized and deserialized differently in different layers of Ember. Changing this will obviously be breaking but it must be done to solve the "refresh" problem.
When you comment on this thread please identify why your issue fits this category. The canonical list will be hoisted here. Comments will only be used to identify which things should be promoted to this top post.
params
into a route's hooks.Unconfirmed as to whether they should be promoted:
The text was updated successfully, but these errors were encountered: