We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
item = h5.core.data.createObservableItem({v:{id:true}, v2:{id:true}}); item.set('v', 1); // Error: Itemのsetterに渡された値がスキーマで指定された型・制約に違反しています。 違反したプロパティ=v(code=15102)
作成時にid制約は無視されているが、セット時にDataItemのid項目の制約(type指定なし時はstringのみ)を受けている。
また、id:trueを指定するとtypeが指定できず、詳細エラーメッセージもおかしくなっている。
item = h5.core.data.createObservableItem({v:{id:true,type:'number'}}); // Error: createObservableItemの引数に指定されたスキーマ定義オブジェクトが不正です。 詳細:1:code=undefined(code=15101)
The text was updated successfully, but these errors were encountered:
hifive#227 リファクタ。(validate部分とcreate部分の分離)
49a223b
hifive#228 修正しました。テスト未追加。 (#227でテストケースのリファクタを行うので、その時に追加します。)
6873bf1 テストケース追加しました。
Sorry, something went wrong.
fukudayasuo
No branches or pull requests
作成時にid制約は無視されているが、セット時にDataItemのid項目の制約(type指定なし時はstringのみ)を受けている。
また、id:trueを指定するとtypeが指定できず、詳細エラーメッセージもおかしくなっている。
The text was updated successfully, but these errors were encountered: