appbaseio / appbaseio/reactivesearch

Feature: Show warning when there is a mapping mismatch

Aberta
#341 0 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
JavaScript
Estrelas
4.9k
Forks
478
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

**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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.