[COMPASS-3436] api: should deal with a semantic_type option Created: 04/Feb/19 Updated: 27/Oct/23 Resolved: 06/Mar/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: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | COMPASS-3418 |
| Story Points: | 5 |
| Description |
|
SchemaParser::new() should accept an option to handle semantic types. setting this to Some should allow for parsing of an email "type" and a geojson "type" along with the regular bson types. should look for crates that could do the geojson check for us; email should be a rather straight forward regex. |