Page MenuHomeSealhub

Drafts meta-collection
Open, NormalPublic2 Points

Description

Create a helper meta-collection that takes any collection as an argument and returns a new collection with the same fields, but no restrictions on required fields.

This will be useful to have a separate "drafts" collection that will only be "finalized" after data is entered.

The collection class should have a .finalize(context) method, that would create an item in the target collection and delete the draft