hyperstack-org / hyperstack-org/hyperstack

Errors methods are not reactive

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

説明

only the Errors methods flagged with `reactive` are reactive.

Thus if you say for example `some_record.errors.messages.keys.include(:some_key)`

and the error messages change, the code will never react!

Its not clear what we should do about this. Perhaps make all methods reactive?
just advise to prefix code like the above like this: `some_record.valid?` (because valid? does react and is based on the records Error object)

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

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

評価

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

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

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