Skip to content
New issue

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

TypeScript(JSON Schema)の型表現でextraが厳密ではない #119

Open
Seo-4d696b75 opened this issue Mar 20, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@Seo-4d696b75
Copy link
Owner

extra属性はextraデータセットのみ定義され、mainデータセットではundefined

両データセットをひとつの型定義で済ますため、extra?: booleanとオプショナルになっている

しかしextraデータセットでextra属性が意図せず欠損していても検知できない(基本的にextraデータセットでは欠損無しの想定)

@Seo-4d696b75 Seo-4d696b75 added the enhancement New feature or request label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant