argument icon indicating copy to clipboard operation
argument copied to clipboard

refactor: revert to legacy decorators

Open buschtoens opened this issue 6 years ago • 13 comments

This reverts this addon to use stage 1 / legacy decorators again and also upgrades a bunch of dependencies.

buschtoens avatar Apr 25 '19 22:04 buschtoens

Compatibility notes in README need to be updated.

Let me know, if you feel that patch-method + ember-auto-import is to heavyweight and we should just monkey patch init in place.

buschtoens avatar Apr 25 '19 22:04 buschtoens

#105 also still remains, I guess.

buschtoens avatar Apr 25 '19 22:04 buschtoens

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 ComputedProperty

Any idea why that behavior would have changed in the next beta/canary version of Ember?

alexlafroscia avatar May 08 '19 21:05 alexlafroscia

@buschtoens @alexlafroscia do you think this will be happening anytime soon?

I'm considering dropping @ember-decorators/argument in my ember-yeti-table addon to make it compatible with latest ember and native ember decorators.

It would be nice to get some updates. Thank you!

miguelcobain avatar Jul 11 '19 15:07 miguelcobain

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 @argument until the decorators stuff has fully resolved. Even having done a lot of the work on this add-on, it's mostly just been a pain point for me! I'm not sure the runtime validation is worth the developer overhead.

alexlafroscia avatar Jul 11 '19 16:07 alexlafroscia

While working on a PR for yeti-table that was eventually merged, the @argument actually caught a few bugs of mine and saved me time. I found it very useful

cah-brian-gantzler avatar Jul 26 '19 12:07 cah-brian-gantzler

I wonder if migrating to Typescript is a 1:1 equivalence?

miguelcobain avatar Jul 26 '19 12:07 miguelcobain

This might fix #111.

jelhan avatar Sep 25 '19 07:09 jelhan

Is this still in progress? Sorry, I know I'm asking before the holidays

theseyi avatar Nov 28 '19 06:11 theseyi

I'm not working on it, sorry. I'm not actively using this addon, as it does not work with Glimmer components.

buschtoens avatar Nov 28 '19 08:11 buschtoens

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 [email protected] 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.

alexlafroscia avatar Nov 28 '19 17:11 alexlafroscia

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 [email protected] 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 GitHubhttps://github.com/ember-decorators/argument/pull/109?email_source=notifications&email_token=AA4NT7LDJNJODZ47RSNFMQ3QV75NVA5CNFSM4HIRAAH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFNFHTI#issuecomment-559567821, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA4NT7KJ2UZVORQEIDMAX3TQV75NVANCNFSM4HIRAAHQ.

theseyi avatar Nov 28 '19 22:11 theseyi

That is a good idea!

On Nov 28, 2019, at 5:50 PM, Seyi Adebajo [email protected] 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 [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 [email protected] 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 GitHubhttps://github.com/ember-decorators/argument/pull/109?email_source=notifications&email_token=AA4NT7LDJNJODZ47RSNFMQ3QV75NVA5CNFSM4HIRAAH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFNFHTI#issuecomment-559567821, or unsubscribehttps://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.

alexlafroscia avatar Nov 29 '19 18:11 alexlafroscia