[COMPASS-2884] Make agg pipeline syntax error messaging more helpful when authoring Created: 26/May/18 Updated: 27/Oct/23 Resolved: 13/Nov/20 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Aggregation pipeline, Compass |
| Affects Version/s: | None |
| Fix Version/s: | 1.22.0 |
| Type: | Story | Priority: | Major - P3 |
| Reporter: | Grigori Melnik (Inactive) | Assignee: | Unassigned |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Story Points: | 1 | ||||||||
| Documentation Changes: | Not Needed | ||||||||
| Description |
|
This ticket could be a collection of suggestions. 1) when multiple match criteria are specified and a comma is missing, I'd like an error message to say "a comma required" as opposed to "Expected [ or Aggregation stage". See screenshot |
| Comments |
| Comment by Massimiliano Marcon [ 13/Nov/20 ] |
|
Client-side validation is disabled, now we show the server error which is more helpful. |
| Comment by Lucas Hrabovsky (Inactive) [ 05/Feb/19 ] |
|
Bouncing this against Ace's JS validator should solve this. |