addRemovedFieldsAsOptional
addRemovedFieldsAsOptional(
schema,_removedFields):string
Defined in: packages/core/src/schema/migrate.ts:72
Returns a copy of the schema string with previously removed fields
re-added as optional. Stub — currently returns schema unchanged; the
rewrite is not yet implemented.
Parameters
Section titled “Parameters”schema
Section titled “schema”string
The schema source string to rewrite.
_removedFields
Section titled “_removedFields”The fields that were removed from the config and should be re-added as optional. Currently unused; placeholder for the not-yet-implemented rewrite.
Returns
Section titled “Returns”string
The schema string, unchanged until this is implemented.