Skip to content
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

[FIX] Custom decorator #80

Merged
merged 2 commits into from
Dec 12, 2019
Merged

[FIX] Custom decorator #80

merged 2 commits into from
Dec 12, 2019

Conversation

shibulijack-fd
Copy link
Contributor

@shibulijack-fd shibulijack-fd commented Dec 12, 2019

ISSUE:
Ember < v.3 does not play well with native classes and decorators, in spite of the polyfill.

SOLUTION:

  • Don't use native class fields getters.

  • Create a custom declarator to create getters and setters for component arguments.

Related bug:
ember-polyfills/ember-decorators-polyfill#25

@shibulijack-fd shibulijack-fd merged commit 43556f8 into master Dec 12, 2019
@shibulijack-fd shibulijack-fd deleted the decorator-2.18 branch December 12, 2019 10:04
@shibulijack-fd shibulijack-fd restored the decorator-2.18 branch December 13, 2019 03:55
shibulijack-fd pushed a commit that referenced this pull request Dec 16, 2019
* master:
  [FIX] Custom decorator (#80)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants