appbaseio / appbaseio/reactivesearch

Feature: Show warning when there is a mapping mismatch

Ouverte
#341 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
JavaScript
Étoiles
4.9k
Forks
478
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**Issue Type:**

Enhancement

**Platform:**

Both

**Description:**

A common error most new users to the library make is setting an analyzed field as a `sortBy` or `sortOptions` prop, or a `dataField` prop in an aggregations based component.

We can show a warning message to the users in the console of something to the effect:

```
Warning: of expects a dataField / sortBy / sortOptions prop value of type `Keyword` or Numeric or Date. However, the passed field value is of type `Text`.
```

**Reactivesearch version:** x.y.z

2.5.1

**Anything else:**

Related discussion: #31

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.