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

Refactor ember-data feature detection #737

Draft
wants to merge 3 commits into
base: update-ember-cli-to-4-12
Choose a base branch
from

Conversation

fsmanuel
Copy link
Contributor

No description provided.

@fsmanuel fsmanuel self-assigned this Oct 26, 2023
@fsmanuel fsmanuel changed the title Ember data deprecations Refactor ember-data feature detection Oct 26, 2023
We don’t change the package node requirements so it’s not a breaking change but to test against ember-data v4.12 we need node v16.
Instead of the DS.PromiseObject and DS.PromiseArray we now test against a real ember data model.
Both `sync` and `async` behaviors are covered now.
Instead of checking if DS exists, we now check if `Model` from `@ember-data/model` is present.
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.

1 participant