-
Notifications
You must be signed in to change notification settings - Fork 102
fix(indexes): allow None primary_key in add_or_update function
#557
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
Conversation
curquiza
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @khanhnt2
thank for this PR
can you add a test passing None value as primary key for the add_or_update function?
|
Hi @curquiza , sorry for the late response. I added the test case. |
|
bors try |
tryBuild failed: |
irevoire
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors merge
557: fix(indexes): allow None `primary_key` in `add_or_update` function r=irevoire a=khanhnt2 # Pull Request ## Related issue Cannot pass `None` value to `add_or_update` function ## What does this PR do? Replace `impl AsRef<str>` to `&str` ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Nguyen Trung Khanh <nguyentrungkhanh97@gmail.com> Co-authored-by: Khanh Nguyen <nguyentrungkhanh97@gmail.com> Co-authored-by: Clémentine U. - curqui <clementine@meilisearch.com> Co-authored-by: Tamo <tamo@meilisearch.com>
|
This PR was included in a batch that successfully built, but then failed to merge into main. It will not be retried. Additional information: {"message":"1 review requesting changes and 1 approving review by reviewers with write access.","documentation_url":"https://docs.github.com/articles/about-protected-branches"} |
irevoire
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors merge
557: fix(indexes): allow None `primary_key` in `add_or_update` function r=irevoire a=khanhnt2 # Pull Request ## Related issue Cannot pass `None` value to `add_or_update` function ## What does this PR do? Replace `impl AsRef<str>` to `&str` ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Nguyen Trung Khanh <nguyentrungkhanh97@gmail.com> Co-authored-by: Khanh Nguyen <nguyentrungkhanh97@gmail.com> Co-authored-by: Clémentine U. - curqui <clementine@meilisearch.com> Co-authored-by: Tamo <tamo@meilisearch.com>
|
This PR was included in a batch that successfully built, but then failed to merge into main. It will not be retried. Additional information: {"message":"1 review requesting changes and 1 approving review by reviewers with write access.","documentation_url":"https://docs.github.com/articles/about-protected-branches"} |
curquiza
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors merge
pliiiiiiz
|
Build succeeded: |
Pull Request
Related issue
Cannot pass
Nonevalue toadd_or_updatefunctionWhat does this PR do?
Replace
impl AsRef<str>to&strPR checklist
Please check if your PR fulfills the following requirements:
Thank you so much for contributing to Meilisearch!