Hello,
We have a pretty big Custom Type with many possible slices.
When trying to fetch a document (with Appolo client) the request fails with HTTP 413 which indicated it is too long.
The project is a mobile app in react native so we make this call directly from the app, not like a Gatsby site that only does it once and could maybe find ways to build it differently (the web team does not have the same problem)
I have found some related issues here in the community but none gives a solution to this problem, an elegant one if possible.
Things we have thought of
- using very short fragment name: nor scalable nor readable
- making a very simple request with fragments without attributes to retrieve the slice order, then make one detailed request per slice type: Many requests for the mobile + quite a nightmare to then rematch slices since those do not have Ids
Currently, we are stuck, we can no longer implement new slices, making Prismic quite limited/useless for us?
Thanks
Nicolas
PS : query example attached query.txt.zip (1.4 KB)