You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently considering renaming the field option default to fallback within the defineDocumentType or defineNestedType definitions in contentlayer/source-files.
Reasoning:
The term default value is typically used when "creating" some kind of record - however, Contentlayer never creates any kind of records/documents but just transforms then. Therefore I'm arguing the term fallback is more appropriate when considering the absence of a value.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm currently considering renaming the field option
default
tofallback
within thedefineDocumentType
ordefineNestedType
definitions incontentlayer/source-files
.Reasoning:
The term
default
value is typically used when "creating" some kind of record - however, Contentlayer never creates any kind of records/documents but just transforms then. Therefore I'm arguing the termfallback
is more appropriate when considering the absence of a value.The text was updated successfully, but these errors were encountered: