Skip to content

Deprecate @ember/error#889

Merged
wagenet merged 4 commits intomasterfrom
deprecate-ember-error
Dec 29, 2022
Merged

Deprecate @ember/error#889
wagenet merged 4 commits intomasterfrom
deprecate-ember-error

Conversation

@wagenet
Copy link
Member

@wagenet wagenet commented Dec 15, 2022

@github-actions github-actions bot added the S-Proposed In the Proposed Stage label Dec 15, 2022
@wagenet wagenet added S-Exploring In the Exploring RFC Stage and removed S-Proposed In the Proposed Stage labels Dec 15, 2022
@SergeAstapov
Copy link
Contributor

one thing comes to mind which does not seem to be mentioned - Ember Data extends EmberError to provide AdapterError

@wagenet
Copy link
Member Author

wagenet commented Dec 15, 2022

@SergeAstapov @ember/error literally just re-exports native Error. What's your concern here?

Copy link
Contributor

@chriskrycho chriskrycho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DO IT.

When we say "super easy codemod," by the way, we mean a super easy codemod:

npx jscodeshift -t https://gist.githubusercontent.com/astexplorer/5f88840599701bae9452cea55e86641e/raw/8538fbcc97c01fe77c42b035613a43b26d206a93/transform.js <glob of files>

I've run this against the big LI app and it works correctly! 🎉

@SergeAstapov
Copy link
Contributor

@wagenet tbh not a concern. maybe even not need to be explicitly stated. Ember Data just would need to account for that I assume

@wagenet
Copy link
Member Author

wagenet commented Dec 16, 2022

Per the core team meeting today, we're moving this to FCP to merge.

@wagenet wagenet merged commit bbc27d8 into master Dec 29, 2022
@delete-merged-branch delete-merged-branch bot deleted the deprecate-ember-error branch December 29, 2022 18:42
wagenet added a commit that referenced this pull request Jan 10, 2023
Advance RFC #889 to Stage Ready for Release
wagenet added a commit that referenced this pull request Jan 14, 2023
wagenet added a commit that referenced this pull request Mar 3, 2023
Advance RFC #889 "Deprecate @ember/error" to Stage Recommended
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Final Comment Period S-Exploring In the Exploring RFC Stage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants