[EF-90] Mapping nullable Lists into Models Created: 02/Jan/24 Updated: 22/Jan/24 |
|
| Status: | In Code Review |
| Project: | Entity Framework |
| Component/s: | None |
| Affects Version/s: | Public Preview 1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Blocker - P1 |
| Reporter: | Abhishek Patil | Assignee: | Damien Guard |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Hello Team, I am currently facing an issue while attempting to map a nullable `List<>` into models. To elaborate, if I have a collection containing four records, where one record includes a List and the other three do not have this property in their respective records. Upon trying to retrieve the data, I encounter the following error: `System.Collections.Generic.KeyNotFoundException: Element 'SubjectURI' not found.` I would appreciate your assistance in resolving this matter. Thank you. |
| Comments |
| Comment by Abhishek Patil [ 05/Jan/24 ] |
|
Ok,Thanks damien.guard@mongodb.com . |
| Comment by Damien Guard [ 04/Jan/24 ] |
|
Hi Abhishek. I have confirmed the bug and pinpointed the root cause. A fix is being developed but bear in mind that because this is a preview release new binaries won't be published until we are ready for preview 2. Thanks, Damien |
| Comment by Abhishek Patil [ 04/Jan/24 ] |
|
Did you get anything for this issue damien.guard@mongodb.com |