Skip to content

Sync query link creation with reduct-js#167 (record identity API) #77

@mother-6000

Description

@mother-6000

Context

reduct-js PR #167 fixed query link creation for the new record identity API:
reductstore/reduct-js#167

Related server issue: reductstore/reductstore#1332

What changed in JS

  • Query link payload now includes record_entry and record_timestamp.
  • Legacy index is still sent for backward compatibility.
  • recordIndex is resolved to exact record identity (entry + timestamp) via metadata query before creating a query link.
  • Validation ensures recordIndex is a non-negative integer.

Task

Bring this behavior to this SDK so query link creation works correctly with the new record identity requirements while keeping backward compatibility.

Acceptance criteria

  • Query link payload supports record_entry + record_timestamp.
  • Legacy index compatibility is preserved where appropriate.
  • recordIndex (or SDK equivalent) resolves to record identity before link creation.
  • Input validation for record index is added/updated.
  • Tests cover query link creation for the new behavior.
  • Changelog/release notes updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions