[DOCS-15040] Scala: Examples for transactions use outdated API version Created: 17/Jan/22 Updated: 13/Nov/23 Resolved: 25/Jan/22 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Dmitry Ryabtsev | Assignee: | Ian Fogelman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 2 years, 2 weeks, 1 day ago |
| Epic Link: | DOCSP-15042 |
| Story Points: | 3 |
| Description |
|
WIth v5.0 of the manual selected source code examples here demonstrate API that is not 5.0-compatible. The giveaway is the use of the Completed type which has been removed after the v2.8 of the Scala driver. An as can be seen in the Compatibility Matrix, driver v2.8 is not compatible with MongoDB v4.4 and newer. |
| Comments |
| Comment by Githook User [ 25/Jan/22 ] |
|
Author: {'name': 'ianf-mongodb', 'email': '85948430+ianf-mongodb@users.noreply.github.com', 'username': 'ianf-mongodb'}Message: |
| Comment by Githook User [ 25/Jan/22 ] |
|
Author: {'name': 'ianf-mongodb', 'email': '85948430+ianf-mongodb@users.noreply.github.com', 'username': 'ianf-mongodb'}Message: |
| Comment by Githook User [ 20/Jan/22 ] |
|
Author: {'name': 'ianf-mongodb', 'email': '85948430+ianf-mongodb@users.noreply.github.com', 'username': 'ianf-mongodb'}Message:
|
| Comment by Ross Lawley [ 19/Jan/22 ] |
|
Hi ian.fogelman, I believe its a straight change of type from `[Completed]` to `[Void]` - see: Ross |