SR072
Severity: error
Summary: index order must be ‘asc’ or ‘desc’
What this means
An index definition has an order: attribute with a value other than asc or desc. These are the only two supported sort directions for index generation.
Example that triggers this
indexes:
- fields: [created_at]
order: INVALID
How to fix it
Use asc or desc for the index order:
- { fields: [created_at], order: desc }