Netflix / falcor

A JavaScript library for efficient data fetching
http://netflix.github.io/falcor
Apache License 2.0
10.49k stars 446 forks source link

GET url limitation on IE #950

Closed zeniroy closed 5 years ago

zeniroy commented 5 years ago

I am testing falcor on IE. And i figured out that long falcor request failed because of IE limitation of Get Url. (2083 byte)

Is there any way to avoid this limitation in the falcor system?

Now, I am using multiple batch models for this problem but it's not that efficient.

jameslaneconkling commented 5 years ago

You should be able to implement your own DataSource that uses POST requests for long falcor GET requests.

I haven't looked too deeply, but if you fork Netflix's own HTTPDataSource implementation, if queryObject.url is longer than 2083 here, you should be able to change the HTTP request type from a GET to a POST and add the paths and method to the request body.

zeniroy commented 5 years ago

ah. ok. Thanx for reply.