[COMPASS-2797] Figure out how to handle elisions in java Created: 01/May/18 Updated: 29/Oct/23 Resolved: 29/May/18 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Export to Language |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Anna Herlihy (Inactive) | Assignee: | Anna Herlihy (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | COMPASS-2309 |
| Story Points: | 1 |
| Sprint: | Sprint Wyclef Jean |
| Description |
|
Elisions in javascript: [,,1, 2] --> [undefined, 1, 2] Won't work in java because doing `.append("array with leading elision", Arrays.asList(null, "1", "2")) will throw a null pointer exception.`
Use BsonUndefined
|