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
Hi! I've investigated this issue and found that this appears to be a documentation/naming mismatch rather than missing functionality:
The limit field IS actually available in queryParams (see src/models/listQueryParams.ts)
The cursor functionality IS implemented but under a different name:
V3 API docs refer to it as cursor
SDK implements it as pageToken
The functionality works exactly as described in the V3 upgrade documentation, just with a slightly different parameter name in the SDK. Here's how to use it:
When making paginated requests:
First request: Use limit without pageToken
Subsequent requests: Use the nextCursor value from the previous response as the pageToken parameter
The functionality is fully implemented and working, it's just that the parameter name in the SDK (pageToken) differs from what's mentioned in the V3 upgrade docs (cursor).
The docs reference a "limit" field that doesn't seem to exist in queryParams anymore.
This reference the new cursor ability but I don't think the SDK has a field for it either
https://developer.nylas.com/docs/v2/upgrade-to-v3/features-and-changes/
The text was updated successfully, but these errors were encountered: