-
-
Notifications
You must be signed in to change notification settings - Fork 87
Conversation
Would we need to include |
|
Awesome, that's good to know. My one concern is accepting this without automated testing in Fastboot... What do you think @taras? |
Yeah, tests would be great, I don't know the current state on fastboot testing. Related discussions: ember-fastboot/ember-cli-fastboot#111 and ember-fastboot/ember-cli-fastboot#68 |
Thanks for linking those, I was just reading them myself. Maybe we should pull it in, add real tests once it's supported, and update the README to say that Fastboot is supported... Unofficially? |
I made a little example app, and I think that the lack of support for |
Also, one other thing I would like to do: if we can't |
It works for me as long as I don't need any headers (the I'll look into creating an ajax module which exports either |
That sounds perfect
I see, I'll look see if I can get it working with the current |
I think the issue that I'm seeing is that the Assuming that this works correctly (and as far as I can tell, it does), I'm in favor of pulling this in and gaining basic Fastboot support once those few changes are made regarding importing |
Huh, I keep getting the following error with
Doesn't seem to happen using either |
8fad16c
to
df238ff
Compare
Rebased and moved the |
I started some work on using |
Checked it out, this seems 👍 to me, despite the lack of testing in the Fastboot environment (not your fault! Tooling just isn't there yet). @taras and I are just figuring out when we want to pull this in relative to the |
Okay, so now that |
This adds basic fastboot support by using the provided
URL
module by ember-fastboot-server andnajax
.I get warnings as
najax
does not implementjqXHR.getAllResponseHeaders()
, but this should work for basic ajax requests.It seems to be implemented in
najax
on themaster
(najaxjs/najax#26) branch, I'm not sure if this is released in a npm package yet.