minimongo icon indicating copy to clipboard operation
minimongo copied to clipboard

Model behaviors

Open superbobry opened this issue 14 years ago • 1 comments

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)

superbobry avatar Mar 14 '11 14:03 superbobry

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?

superbobry avatar Mar 25 '11 07:03 superbobry