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
Collections and oracles have both. Originally, summary was for the short text and description was for longer text.
This is intended to hint the expected text size to developers, but since both properties are optional, in practice people just do something like const foo = node.summary ?? node.description. Longer descriptions from the book also have implications re: licensing.
I think it'd be better to just use description, but at the length currently used by summary.
The text was updated successfully, but these errors were encountered:
Collections and oracles have both. Originally,
summary
was for the short text anddescription
was for longer text.This is intended to hint the expected text size to developers, but since both properties are optional, in practice people just do something like
const foo = node.summary ?? node.description
. Longer descriptions from the book also have implications re: licensing.I think it'd be better to just use
description
, but at the length currently used bysummary
.The text was updated successfully, but these errors were encountered: