Skip to content

Firestore上に不正なデータが書き込まれている #42

@KikyoNanakusa

Description

@KikyoNanakusa

以下のようなデータが見られるので対策が必要です。

  1. maxHealthが0
  2. maxHealthよりもcurrentHealthの方が小さい
  3. maxHealth, currentHealthが小数になっている。

他にもあるかもしれませんがとりあえず確認できたのはこの辺です。
Firestoreに書き込む前にバリデーションを挟む必要があります。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions