David Sowerby opened issue #206: Alternative declaration for Documents & fields at David Sowerby / takkan

David Sowerby
2023-10-28T20:22:43Z

The current approach declares a Document in full, and then uses the 'property' property to reference a Field within the Document.

Some users may prefer to declare the Field within a Part - this would require the Document to be built as part of the init process.

In this case the Document would need to be something else - may be a DocumentReference or similar.

Fields would need to be collected from the instance defining the DocumentReference, down the tree until another Document or DocumentReference is encountered