-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fetch + fastboot + jquery detection problem #7219
Comments
Since |
I think the easiest thing to do would be to override |
Yep, that's what I ultimately did, but the current situation is confusing, maybe this should have at least a warning, documentation, or a more permanent solution, like |
I was looking at this too at some point so thanks for the explanation! Is it worth making an issue to remind us to change for the 4.0 release? |
I agree with @vlascik, we can (and probably) should issue a deprecation when we detect that we are going to fallback to the |
If an app has
ember-cli-fastboot
,ember-fetch
and@ember/jquery
as dependencies, code indata/packages/adapter/addon/rest.js
Lines 312 to 323 in 35b8abf
fetch
, and usesnajax
instead. Which leads to errors likenajax: method jqXHR."getAllResponseHeaders" not implemented
Ideally, fetch would be used instead, perhaps with additional check like
Seems this method was added in #6094
Not sure if there is a reason for current logic though, or how to proceed.
The text was updated successfully, but these errors were encountered: