[SERVER-84122] Document that IDL struct variants impose constraint on field ordering Created: 12/Dec/23  Updated: 14/Dec/23  Resolved: 14/Dec/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Ryan Berryhill Assignee: Ryan Berryhill
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-83931 IDL generates code that depends on fi... Backlog
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2023-12-25
Participants:

 Description   

The (fairly new) documentation does mention that the first field in the IDL definition must be unique here. We should add a note clarifying that it imposes a constraint on the order of the fields in the incoming BSON object.



 Comments   
Comment by Githook User [ 14/Dec/23 ]

Author:

{'name': 'Ryan Berryhill', 'email': 'ryan.berryhill@mongodb.com', 'username': 'ryanberryhill'}

Message: SERVER-84122 Clarify documentation regarding IDL variant-of-structs

GitOrigin-RevId: 7cf9230d791c0397fbb94d9508c42e51ddb62cd9
Branch: master
https://github.com/mongodb/mongo/commit/6164329e4210fe9481495a7b8c4c36cb98a0ca28

Generated at Thu Feb 08 06:54:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.