You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current API for infinityModel involves passing perPage and startingPage properties -- which are then converted to per_page and page parameters for the backend.
Once people start having the ability to pass arbitrary parameters to infinityModel, I can imagine (especially if they're simultaneously working on the backend API) they may accidentally provide page (vs startingPage) and per_page (vs perPage) options -- which would [currently] be ignored.
I think it might make sense that the logic is a bit more forgiving, eg:
Just a thought for a post #9 world.
The current API for
infinityModel
involves passingperPage
andstartingPage
properties -- which are then converted toper_page
andpage
parameters for the backend.Once people start having the ability to pass arbitrary parameters to
infinityModel
, I can imagine (especially if they're simultaneously working on the backend API) they may accidentally providepage
(vsstartingPage
) andper_page
(vsperPage
) options -- which would [currently] be ignored.I think it might make sense that the logic is a bit more forgiving, eg:
The text was updated successfully, but these errors were encountered: