[GODRIVER-2999] Implemente ReplaceByID Created: 30/Sep/23 Updated: 11/Oct/23 Resolved: 05/Oct/23 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Tomás Warynyca | Assignee: | Preston Vasquez |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||||||||||
| Description |
|
Replicate how UpdateByID works |
| Comments |
| Comment by Matt Dale [ 11/Oct/23 ] | ||||
|
Adding more context to the decision to not add ReplaceByID: | ||||
| Comment by Preston Vasquez [ 05/Oct/23 ] | ||||
|
tomas.warynyca@outlook.com We are likely going to deprecate UpdateByID in V2. The reason for such convenience functions are unclear, as it is straight-forward for a user to wrap existing collection methods for reuse. The same would apply to requests for additional convenience functions like FindByID or ReplaceByID:
| ||||
| Comment by Tomás Warynyca [ 05/Oct/23 ] | ||||
|
Good afternoon, instead of having to be adding the filter all the time when I have to replace by ID in different saving methods that I have Current New | ||||
| Comment by Preston Vasquez [ 05/Oct/23 ] | ||||
|
tomas.warynyca@outlook.com Thanks for the ticket! Would you mind sharing your use-case for this? | ||||
| Comment by PM Bot [ 30/Sep/23 ] | ||||
|
Hi tomas.warynyca@outlook.com, thank you for reporting this issue! The team will look into it and get back to you soon. |