reyesoft / ngx-jsonapi

JSON API client library for Angular 5+ 👌 :: Production Ready 🚀
https://ngx-jsonapi.reyesoft.com/
MIT License
101 stars 52 forks source link

Update path-collection-builder.ts #145

Open paugonzalez opened 5 years ago

paugonzalez commented 5 years ago

Hello I don't understand why the page number is only sended when is grater than 1. If number is 0 only send pagesize, and my server fails because page number is mandatory when I send the size: Error: { "errors": [ { "status": "400", "detail": "If you use pagination, you must specify page[number] parameter" } ] }

Can You tell me that? Also I need to send a custom pagesize indeed in the first page Thank You