tolgee / tolgee-js

Tolgee JavaScript libraries monorepo
https://tolgee.io
MIT License
218 stars 24 forks source link

fix: adjust languages pagination to fetch all languages #3311

Closed stepan662 closed 3 months ago

stepan662 commented 3 months ago

Fetch all the languages (1000 should be enough)

jdimeo commented 3 months ago

1000 should be enough

Challenge accepted :-)

stepan662 commented 3 months ago

There is a build-in limit for pagination, so I can't fetch more than 1000 now, however if you reach that, we'll need to create a new endpoint for the languages without pagination, or solve it somehow differently.