feat: add doFullSerialization support to blocks (#7363)

* feat: add doFullSerialization support to blocks

* chore: PR comments
This commit is contained in:
Beka Westberg
2023-08-16 09:30:13 -07:00
committed by GitHub
parent 51be0760c3
commit b4ce6afd2a
4 changed files with 21 additions and 5 deletions

View File

@@ -423,6 +423,9 @@ export abstract class Field<T = any>
* @param _doFullSerialization If true, this signals to the field that if it
* normally just saves a reference to some state (eg variable fields) it
* should instead serialize the full state of the thing being referenced.
* See the
* {@link https://developers.devsite.google.com/blockly/guides/create-custom-blocks/fields/customizing-fields/creating#full_serialization_and_backing_data | field serialization docs}
* for more information.
* @returns JSON serializable state.
* @internal
*/