From 8894a9e48a8300a4e30b94d77a272d244459d93a Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Tue, 12 Mar 2024 19:49:03 +1100 Subject: [PATCH] docs: update WORKFLOWS.md --- docs/contributing/frontend/WORKFLOWS.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/contributing/frontend/WORKFLOWS.md b/docs/contributing/frontend/WORKFLOWS.md index f4a5f3f383..e71d797b8a 100644 --- a/docs/contributing/frontend/WORKFLOWS.md +++ b/docs/contributing/frontend/WORKFLOWS.md @@ -117,13 +117,13 @@ Stateless fields do not store their value in the node, so their field instances "Custom" fields will always be treated as stateless fields. -##### Collection and Polymorphic Fields +##### Collection and Scalar Fields -Field types have a name and two flags which may identify it as a **collection** or **polymorphic** field. +Field types have a name and two flags which may identify it as a **collection** or **collection or scalar** field. -If a field is annotated in python as a list, its field type is parsed and flagged as a collection type (e.g. `list[int]`). +If a field is annotated in python as a list, its field type is parsed and flagged as a **collection** type (e.g. `list[int]`). -If it is annotated as a union of a type and list, the type will be flagged as a polymorphic type (e.g. `Union[int, list[int]]`). Fields may not be unions of different types (e.g. `Union[int, list[str]]` and `Union[int, str]` are not allowed). +If it is annotated as a union of a type and list, the type will be flagged as a **collection or scalar** type (e.g. `Union[int, list[int]]`). Fields may not be unions of different types (e.g. `Union[int, list[str]]` and `Union[int, str]` are not allowed). ## Implementation