Closed Jmaharman closed 3 years ago
I couldn't think how to setup tests to prove that the browser behaves as I'd expect, as I would need to setup another website with CORS enabled and run that at the same time and make a request from the original site to the external site (accepting CORS).
It was such a simplistic change that it may be overboard.
I couldn't think how to setup tests to prove that the browser behaves as I'd expect
It's alright, this change doesn't look harmful :smile: we will test it the good 'ol way, by publishing the the library and let you test on your machine
I tested this locally by copying the necessary files into my .fable folder and it worked, so I'm confident once it's published that all should work as expected.
Published as of Fable.Remoting.Client v7.1.0 💯
Thanks Zaid
When using Fable.Remoting with CORS it was not possible to validate the logged user with their cookie because it was not sent in the request.