Skip to content

BAAS-34841 #56

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

Merged
merged 5 commits into from
Nov 20, 2024
Merged

BAAS-34841 #56

merged 5 commits into from
Nov 20, 2024

Conversation

jwongmongodb
Copy link
Collaborator

@jwongmongodb jwongmongodb commented Nov 20, 2024

BAAS-34841

I fixed the project and match update examples to use the correct updatedFields field.

Question:

There was also a suggestion to use an example of the match update expression (not for arrays). Should we do this or disregard for now? The argument is that it may not be clear for the user that you can update an array or a field directly.

something like this
{
"updateDescription.removedFields.0.0": "storeItems",
"updateDescription.updatedFields.storeLocation.0.0": "East Langley",
"updateDescription.updatedFields.status": "updated"
}

@jwongmongodb jwongmongodb changed the base branch from main to development November 20, 2024 19:47
@jwongmongodb jwongmongodb marked this pull request as ready for review November 20, 2024 19:48
@jwongmongodb jwongmongodb requested a review from Gabri3l November 20, 2024 19:50
@jwongmongodb jwongmongodb merged commit 164f601 into mongodb:development Nov 20, 2024
@jwongmongodb jwongmongodb deleted the BAAS-34841 branch November 20, 2024 20:37
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.

3 participants