-
Notifications
You must be signed in to change notification settings - Fork 18
refactor: revert to legacy decorators #109
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
base: master
Are you sure you want to change the base?
refactor: revert to legacy decorators #109
Conversation
|
Compatibility notes in README need to be updated. Let me know, if you feel that |
|
#105 also still remains, I guess. |
alexlafroscia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks for taking the time to upgrade this!
| import Component from '@ember/component'; | ||
| import { assert } from '@ember/debug'; | ||
| import collapseProto from '@ember-decorators/utils/collapse-proto'; | ||
| import { afterMethod } from 'patch-method'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! Really helpful utility here
|
It looks like on beta and canary, rather than "resolving" a computed property and getting the actual value, it instead is seeing the type to check against as Any idea why that behavior would have changed in the next beta/canary version of Ember? |
|
@buschtoens @alexlafroscia do you think this will be happening anytime soon? I'm considering dropping It would be nice to get some updates. Thank you! |
|
I could take a look at why the PR isn't working, but @buschtoens probably has more context on why things aren't working. Honestly, I would probably just remove |
|
While working on a PR for yeti-table that was eventually merged, the |
|
I wonder if migrating to Typescript is a 1:1 equivalence? |
|
This might fix #111. |
|
Is this still in progress? Sorry, I know I'm asking before the holidays |
|
I'm not working on it, sorry. I'm not actively using this addon, as it does not work with Glimmer components. |
|
I’m not working on it either, unfortunately.
I wouldn’t introduce this into a new codebase since it goes against the direction Glimmer is taking.
What is interesting to me is some means for annotating defaults for arguments in a Glimmer component, but that would be a totally separate project than this.
… On Nov 28, 2019, at 3:49 AM, Jan Buschtöns ***@***.***> wrote:
I'm not working on it, sorry. I'm not actively using this addon, as it does not work with Glimmer components.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
|
Thanks for the quick update guys. I guess this version could probably be marked deprecated so users don’t go through the trouble of trying to include it and then finding out it’s incompatible with the current decorators implementation and /or glimmer components
________________________________
From: Alex LaFroscia <[email protected]>
Sent: Thursday, November 28, 2019 9:26:50 AM
To: ember-decorators/argument <[email protected]>
Cc: Seyi Adebajo <[email protected]>; Comment <[email protected]>
Subject: Re: [ember-decorators/argument] refactor: revert to legacy decorators (#109)
I’m not working on it either, unfortunately.
I wouldn’t introduce this into a new codebase since it goes against the direction Glimmer is taking.
What is interesting to me is some means for annotating defaults for arguments in a Glimmer component, but that would be a totally separate project than this.
On Nov 28, 2019, at 3:49 AM, Jan Buschtöns ***@***.***> wrote:
I'm not working on it, sorry. I'm not actively using this addon, as it does not work with Glimmer components.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#109?email_source=notifications&email_token=AA4NT7LDJNJODZ47RSNFMQ3QV75NVA5CNFSM4HIRAAH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFNFHTI#issuecomment-559567821>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AA4NT7KJ2UZVORQEIDMAX3TQV75NVANCNFSM4HIRAAHQ>.
|
|
That is a good idea!
… On Nov 28, 2019, at 5:50 PM, Seyi Adebajo ***@***.***> wrote:
Thanks for the quick update guys. I guess this version could probably be marked deprecated so users don’t go through the trouble of trying to include it and then finding out it’s incompatible with the current decorators implementation and /or glimmer components
________________________________
From: Alex LaFroscia ***@***.***>
Sent: Thursday, November 28, 2019 9:26:50 AM
To: ember-decorators/argument ***@***.***>
Cc: Seyi Adebajo ***@***.***>; Comment ***@***.***>
Subject: Re: [ember-decorators/argument] refactor: revert to legacy decorators (#109)
I’m not working on it either, unfortunately.
I wouldn’t introduce this into a new codebase since it goes against the direction Glimmer is taking.
What is interesting to me is some means for annotating defaults for arguments in a Glimmer component, but that would be a totally separate project than this.
> On Nov 28, 2019, at 3:49 AM, Jan Buschtöns ***@***.***> wrote:
>
>
> I'm not working on it, sorry. I'm not actively using this addon, as it does not work with Glimmer components.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#109?email_source=notifications&email_token=AA4NT7LDJNJODZ47RSNFMQ3QV75NVA5CNFSM4HIRAAH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFNFHTI#issuecomment-559567821>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AA4NT7KJ2UZVORQEIDMAX3TQV75NVANCNFSM4HIRAAHQ>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
This reverts this addon to use stage 1 / legacy decorators again and also upgrades a bunch of dependencies.