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
When you request /api/C?include=R.P to fetch all the data at once, the Handler's search method gets called. The search method then receives the following params:
{filter: {id: ['P_id1', ...]// we get all 100 id's here},page: {offset: 0,limit: 50,// you get whatever limit you have set by default}}
If you implemented your search method to respect offset and limit params, you'd never be able to resolve those relationships. So what needs to be done is: jagql should implement paging while resolving relationships. That way, all possible scenarios are covered.
The text was updated successfully, but these errors were encountered:
Hello.
Consider the following:
When you request
/api/C?include=R.P
to fetch all the data at once, the Handler's search method gets called. The search method then receives the following params:If you implemented your search method to respect
offset
andlimit
params, you'd never be able to resolve those relationships. So what needs to be done is: jagql should implement paging while resolving relationships. That way, all possible scenarios are covered.The text was updated successfully, but these errors were encountered: