appbaseio / appbaseio/reactivesearch

Feature: Show warning when there is a mapping mismatch

オープン
#341 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
JavaScript
スター
4.9k
フォーク
478
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。