DOCSP-28250-key-handling-button#258
Merged
gmiller-mdb merged 3 commits intomongodb:masterfrom Jun 11, 2025
Merged
Conversation
✅ Deploy Preview for docs-relational-migrator ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
kennethdyer
approved these changes
Jun 4, 2025
Collaborator
kennethdyer
left a comment
There was a problem hiding this comment.
Thanks @gmiller-mdb, LGTM!
| - Change the key handling strategy. | ||
|
|
||
| Modify the key handling strategy by clicking the :icon-fa5:`key` icon in | ||
| the field panel. |
There was a problem hiding this comment.
There are a few expansions I think would be important to make here:
- The default key strategy is 'autogenerated'. We have docs here which explain each key handling strategy which may be helpful to link to.
- Changing the key handling strategy changes it for the entire project. Having it in this section makes it seem like you can change it for a specific collection when you can't.
- Selecting a different key handling strategy is reflected immediately in the project. So if you've edited any keys in any collection those changes may be lost by changing the key strategy.
Let me know if I can clarify anything!
marian-derias
approved these changes
Jun 11, 2025
marian-derias
left a comment
There was a problem hiding this comment.
Good wording, thank you! I do have one suggestion- but this has been sitting for a while so I don't want to block you.
source/mapping-rules/edit-rules.txt
Outdated
| - Change field names. | ||
| - To include or exclude a field from your migration job, click the | ||
| :icon-fa5:`check-square` icon next to the field name. | ||
| - Change the key handling strategy. |
There was a problem hiding this comment.
Should this be moved into a different section too because it's not specific to a mapping rule? I'm not familiar with this page- up to you where it should be.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

DESCRIPTION
Add information about new key handling button.
STAGING
https://deploy-preview-258--docs-relational-migrator.netlify.app/mapping-rules/create-rules/
https://deploy-preview-258--docs-relational-migrator.netlify.app/mapping-rules/mapping-rule-options/new-documents/
JIRA
https://jira.mongodb.org/browse/DOCSP-28250
BUILD LOG
Self-Review Checklist
External Review Requirements
What's expected of an external reviewer?