minimongo
minimongo copied to clipboard
Model behaviors
Implement at least three following behaviors for a Model:
- Read-only
- Rigid (no schema change allowed after read)
- Type-Rigid (allow changing values, but not changing types)
How about we add a dependency on brownie and implement those folks as ImmutableDict subclasses? In fact we can then merge TypeImmutableDict and SchemaImmutableDict (or whatever we call it) back into brownie. What do you think?