Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(index): add options to index.exists function #711

Closed
wants to merge 1 commit into from

Conversation

k20human
Copy link

@k20human k20human commented Jan 5, 2023

Q A
Bug fix? no
New feature? no (improve an existing function)
BC breaks? no
Related Issue Fix #710
Need Doc update no

Describe your change

Currently the function index.Exists doesn't accept options like other functions.

Options can be used to propagate the context, for example to do tracing. The goal of this commit is to add opts to index.exists

What problem is this fixing?

Propagate opts to others functions call by Exists function

Currently the function `index.Exists` doesn't accept options like other functions.

Options can be used to propagate the context, for example to do tracing. The goal of this commit is to add `opts` to `index.exists`
@samouss
Copy link

samouss commented Jan 5, 2023

Will keep this for the next major release.

@samouss samouss closed this Jan 5, 2023
@k20human k20human deleted the feature/exists-opts branch January 5, 2023 14:00
@greg0ire
Copy link

greg0ire commented Jan 5, 2023

@samouss should there be a v4 branch for contributing such breaking changes?

@samouss
Copy link

samouss commented Jan 5, 2023

@greg0ire We have no plan for such release so far. I've kept the issue with the label Breaking change.

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.

Index.Exists doesn't accept options (and so context)
3 participants