-
Notifications
You must be signed in to change notification settings - Fork 137
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
Embroider optimized fails with Ember Data 4.12.x #1506
Comments
It seems the compat adapters are disabled on ember-data 4.11.1+. It looks like v4.* isn't Embroider compatible and the adapters only hid the underlying issue?
In v5 that file is removed so that could explain why it works there. So I think enabling (some of) the compat adapters might be a workaround if this can't be easily fixed on the Ember Data side. Edit: I was able to get it working again by enabling the |
Adding the compatAdapters is a temporary workaround until the issue is resolved upstream somehow. More information: embroider-build/embroider#1506
Adding the compatAdapters is a temporary workaround until the issue is resolved upstream somehow. More information: embroider-build/embroider#1506
Small update: |
Confirmed as still failing with ember-data I also touched up the issue name and the reproduction steps. |
There were added some new compactAdapters for EmberData in #1435. One of this is causing problem with ember-data v4.12.x Workaround is to disable the
|
In an addon with ember-data installed the embroider optimized scenario fails with:
Steps to reproduce
$ ember addon emberFiveDataFourEmbroider
$ ember install [email protected]
$ ember try:one embroider-optimized
Just in case I tried it after the release of
v3.1.4
and it still fails. It passes with ember-data v5.x (or least doesn't fail in this obvious way).The text was updated successfully, but these errors were encountered: