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: make emergent unsupported behaviors safer in prod #9120

Merged
merged 5 commits into from
Nov 17, 2023

Conversation

runspired
Copy link
Contributor

@runspired runspired commented Nov 17, 2023

In older versions of EmberData (<=4.6), accessing a sync belongsTo or sync hasMany relationship before its related data was loaded while in production mode would lead to buggy behaviors but would not necessarily immediately crash the app.

In new versions of EmberData, this same pattern generally would fail immediately.

Some of these failures were eventually recoverable as long as the app caught the error, others were not. This PR makes 4.12 behave as close as is feasible to 4.6 in these regards.

@runspired runspired added 🏷️ test This PR primarily adds tests for a feature 🏷️ bug This PR primarily fixes a reported issue backport-lts PR targets the current lts branch labels Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-lts PR targets the current lts branch 🏷️ bug This PR primarily fixes a reported issue 🏷️ test This PR primarily adds tests for a feature
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant