-
-
Notifications
You must be signed in to change notification settings - Fork 87
Cannot override ajax service #428
Comments
Hey @Gaurav0, thanks for opening this issue! I'll try to talk with the |
I'm still having the same issue even with |
@boris-petrov same for me |
Looks like it's floating bug, some of our builds broken, some working well. |
Yes, it was like that for me before also. |
The only time I've run into this issue with |
@dfreeman - I confirm that I have only |
@boris-petrov do you have a reproduction you can share? I've tried everything I can think of to trigger the issue for myself and haven't ever managed it. At this point I don't think I'm going to be able to offer a diagnosis or fix until I can see the problem in action |
@dfreeman - unfortunately I can't. :( I tried when we hit it and couldn't. Perhaps I'll try again at some point but the problem is that it's not consistent - it only fails sometimes. Are you sure you've tried it enough times? Sorry I can't be of more help. Hopefully some day someone will come up with a nice reproduction. Let's leave the issue open until then if no one has something against that. |
I've done things like leave |
I don't know it will work by just looping @lifeart - after you've fixed your duplicate |
@lifeart that repo has exactly the same issue as the one we talked about yesterday—the |
@dfreeman, right! After changing |
@dfreeman - I've obviously missed that. So having a |
@boris-petrov it's effectively a caching problem. When addons inject We don't have any good way to work around this so far as we've been able to see. It's also an anti-pattern for addons to do this in my opinion—but unfortunately, a very common anti-pattern. (Sorry for the long delay in one of the Typed Ember crew responding; we've all had full summers.) I recommend closing this issue; I'll reference it with a link from a new documentation-focused issue on the ember-cli-typescript repo, to which we'll point addon authors in the future. |
After upgrading to latest ember-ajax, it is no longer possible to override the ajax service using a js (not ts) file.
Minimal Reproduction (Run ember test): https://github.com/Gaurav0/repro-ajax-ts
The text was updated successfully, but these errors were encountered: