You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: Even though, this data manager allows nearly all kinds of
mappings, by default it is only registered for dict, because it
would otherwise get picked up in undesired scenarios. If you want
to it use for another mapping, register the appropriate adapter in
your application.
What does this mean? Why would it be not safe to register DictionaryField datamanager for PersistentDict (handy for using z3c.form with annotations)? Would it then be better to subclass PersistentDict and register DictionaryField for that (makes things potentionally brittle though)?
The text was updated successfully, but these errors were encountered:
In DictionaryField datamanager docstring it says:(https://github.com/zopefoundation/z3c.form/blob/3.2.7/src/z3c/form/datamanager.py#L110-L114)
What does this mean? Why would it be not safe to register DictionaryField datamanager for PersistentDict (handy for using z3c.form with annotations)? Would it then be better to subclass PersistentDict and register DictionaryField for that (makes things potentionally brittle though)?
The text was updated successfully, but these errors were encountered: