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
Currently, when executing a query such as the following, Exograph returns all products.
products {
idname
}
We should:
Allow configuring a global, say, EXO_QUERY_ENTRIES_LIMIT (default to, say, 100)
Allow a per-type configuration (@maxLimit(100))
Then we automatically compute the effective limit as:
min(the `limit` parameter specified in the query, the configured limit)
where the configured limit is:
per-type configuration, if specified, or `EXO_QUERY_ENTRIES_LIMIT`
Then we execute the query as if the user has specified the limit parameter:
products(limit: <the computed limit>) {
id
name
}
Open question:
We need to indicate to the caller that their limit (either explicitly specified or implied as Infinity) was overridden. What's the best way to do it?
The text was updated successfully, but these errors were encountered:
Currently, when executing a query such as the following, Exograph returns all products.
We should:
@maxLimit(100)
)Then we automatically compute the effective limit as:
where the configured limit is:
Then we execute the query as if the user has specified the limit parameter:
Open question:
We need to indicate to the caller that their limit (either explicitly specified or implied as
Infinity
) was overridden. What's the best way to do it?The text was updated successfully, but these errors were encountered: