Skip to content

Fix ObjectFetcher internal BTQL cursor override during pagination#1370

Open
colinbennettbrain wants to merge 3 commits intomainfrom
fix/js-internal-btql-limit-override
Open

Fix ObjectFetcher internal BTQL cursor override during pagination#1370
colinbennettbrain wants to merge 3 commits intomainfrom
fix/js-internal-btql-limit-override

Conversation

@colinbennettbrain
Copy link
Contributor

@colinbennettbrain colinbennettbrain commented Feb 12, 2026

Summary

  • Prevent _internal_btql.cursor from overriding the loop-managed pagination cursor in ObjectFetcher BTQL fetches.
  • Preserve _internal_btql.limit overrides while keeping default batchSize behavior for normal fetches.
  • Add regression tests for internal limit behavior and multi-page cursor advancement.
  • Include existing branch dependency metadata updates in js/package.json and pnpm-lock.yaml (jiti resolution changes).

Move _internal_btql spread to end of BTQL query object so user-provided parameters override SDK defaults.  Mirrors Python SDK fix shipped in v0.3.6
"async": "^3.2.5",
"autoevals": "^0.0.131",
"cross-env": "^7.0.3",
"jiti": "^2.6.1",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm where is this used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants