Migrating To Checkpoints

Migrates existing Nango TypeScript createSync implementations from nango.lastSyncDate, legacy incremental syncType, and non-resumable full refreshes to checkpoint-based syncs. Use when updating customer Nango sync code to define checkpoint schemas, call getCheckpoint/saveCheckpoint/clearCheckpoint after every batchSave (including inside paginate loops), test dryruns with --checkpoint, and fix deletion handling for checkpointed incremental or full syncs.

nangohq 3c6b5a9 11.2 KB Updated

File contents

nangohq/skills/tree/main/skills/migrating-to-checkpoints commit 3c6b5a9aca

Frequently asked questions

npx skillmds add nangohq/migrating-to-checkpoints