[COMPASS-3328] api: should allow for SchemaParser struct output Created: 28/Nov/18 Updated: 04/Feb/19 Resolved: 04/Feb/19 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | schema.rs |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Irina Shestak (Inactive) | Assignee: | Irina Shestak (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | COMPASS-3418 |
| Story Points: | 5 |
| Sprint: | Iteration Wasabi |
| Description |
|
currently output is directly converted to json in flush method. The api should allow for either of the two to be an output, or have a way for user to call `to_json` or `to_bson`, `to_struct` methods (or something of the sort) for easier conversions |