Skip to content

Bug: JS keys should be bigint #178

Closed

Description

@gustavopch

Describe the bug

Index::Add currently validates the key expecting it to be a number.

Steps to reproduce

N/A

Expected behavior

The validation should expect it to be a bigint.

USearch version

#20566e0ecdd99564150602dd96610e4be377e080

Operating System

N/A

Hardware architecture

Arm

Which interface are you using?

Other bindings

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added
    bug
    invalid
    on Aug 3, 2023
  2. ashvardanian commented on Aug 4, 2023

    @ashvardanian
    Member

    Hey, @gustavopch! I have put in your suggestions and preparing to merge them into the primary repo. Do you have any recommendations for the idiomatic way of writing tests for JS/TS packages? For now, it is trivial.

  3. gustavopch commented on Aug 4, 2023

    @gustavopch
    Author
  4. ashvardanian commented on Aug 4, 2023

    @ashvardanian
    Member

    @gustavopch we also run those tests for WASM builds, and I am not sure this method will work in both places.

  5. added a commit that references this issue on Aug 5, 2023
  6. ashvardanian commented on Aug 5, 2023

    @ashvardanian
    Member

    🎉 This issue has been resolved in version 0.23.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

Metadata

Metadata

Assignees

Labels

buginvalidreleased

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions