In the case of the defaultFn property, setting generated to true or setting required to true fails the request. This PR updates the docs and mentions not to set these options in the case of defaultFn.
The confusion arises from the fact that generated represents a field automatically generated.
In the case of default, we can set the required to true but not in the case of defaultFn.
In the case of the
defaultFn
property, settinggenerated
totrue
or settingrequired
totrue
fails the request. This PR updates the docs and mentions not to set these options in the case ofdefaultFn
.The confusion arises from the fact that generated represents a field automatically generated. In the case of
default
, we can set the required to true but not in the case of defaultFn.Checklist
npm test
passes on your machinepackages/cli
were updatedexamples/*
were updated👉 Check out how to submit a PR 👈