Skip to content

feat(Indexes): getIndexValue#215

Open
ShaMan123 wants to merge 2 commits into
ThatOpen:mainfrom
ShaMan123:feat/index-values
Open

feat(Indexes): getIndexValue#215
ShaMan123 wants to merge 2 commits into
ThatOpen:mainfrom
ShaMan123:feat/index-values

Conversation

@ShaMan123
Copy link
Copy Markdown
Contributor

@ShaMan123 ShaMan123 commented May 14, 2026

Description

Expose getIndexValues so it is easy to run inverse lookups using getInverseIndexEntry

Additional context


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following:

  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Follow the Conventional Commits v1.0.0 standard for PR naming (e.g. feat(examples): add hello-world example).
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

@ShaMan123 ShaMan123 changed the title feat(Indexes): getIndexValue feat(Indexes): getIndexValue May 14, 2026
Copy link
Copy Markdown
Contributor Author

@ShaMan123 ShaMan123 left a comment

Choose a reason for hiding this comment

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

What do you think about making the methods generic so that:

model.getIndexValues<string>(indexName) satisfies string[]

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.

1 participant