[SERVER-80330] IDL generate noncompilable c++ code in case of a chained optional variant field Created: 23/Aug/23 Updated: 29/Oct/23 Resolved: 14/Sep/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Enrico Golfieri | Assignee: | Pierlauro Sciarelli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | car-71-backport-declined | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Service Arch
|
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Sharding EMEA 2023-09-18 |
| Participants: |
| Description |
|
Currently experiencing the idl generator to generate c++ code that doesn't compile in case of a chained Struct that contains an optional variant field between a generic type and a customised struct Reproducible idl example
The generated code will cause this snippet not to compile
|
| Comments |
| Comment by Githook User [ 13/Sep/23 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: |