contentlayerdev / contentlayerdev/contentlayer

Consider renaming `required` to `nullable`

オープン
#160 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
meta: never-stale
主要言語
TypeScript
スター
3.5k
フォーク
192
PR マージ指標
30日以内にマージされた PR はありません

説明

Special case: Field `required: true` with `default: "some value"` results in the actual **input data** not actually being required and therefore making the concept of a "required field" kind of "weird".

Related:
- #120

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

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

評価

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

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

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