[SERVER-81489] Allow IDL generator serialize custom types in arrays Created: 27/Sep/23 Updated: 15/Nov/23 Resolved: 07/Nov/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: | Denis Grebennicov | Assignee: | Catalin Sumanaru |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | auto-reverted | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Sprint: | QE 2023-10-02, QE 2023-10-16, QE 2023-10-30, QE 2023-11-13 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 120 | ||||||||||||
| Description |
|
While working on PM-412 I stumbled on the issue of serializing custom defined types in arrays. Imagine the following idl definition:
During compilation of this idl module, the following error appears:
This happens because IDL generator can not serialize custom types correctly in the array. |
| Comments |
| Comment by Githook User [ 06/Nov/23 ] |
|
Author: {'name': 'csum112', 'email': 'catalin.sumanaru@mongodb.com', 'username': ''}Message: |
| Comment by Githook User [ 04/Nov/23 ] |
|
Author: {'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}Message: Revert " This reverts commit 8c1b69f4196ffaa79749832a3bfe86493134b706. |
| Comment by Githook User [ 03/Nov/23 ] |
|
Author: {'name': 'csum112', 'email': 'catalin.sumanaru@mongodb.com', 'username': ''}Message: |
| Comment by Billy Donahue [ 06/Oct/23 ] |
|
Work on this ticket has brought to light a syntactic problem in the way IDL specifies the names of C++ functions that it imports and uses. It tries to determine whether a specification is referring to a member function or nonmember function. I think we should look into the idea of extending IDL syntax so that a leading . dot will indicate member function unambiguously. |