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
Several fields, such as type, are strings that can only take as value one of an enumeration. Therefore at the moment there is no need for them to be sanitized and could go along with just being a Str(). However, if we open these to customization (e.g. introduce your own CVs) it might cause problems (maybe in other languages that are not English).
Run some tests on performance from marshmallow.fields.Str vs invenio_records_rest.schemas.fields.SanitizedUnicode.
Several fields, such as
type
, are strings that can only take as value one of an enumeration. Therefore at the moment there is no need for them to be sanitized and could go along with just being aStr()
. However, if we open these to customization (e.g. introduce your own CVs) it might cause problems (maybe in other languages that are not English).Run some tests on performance from
marshmallow.fields.Str
vsinvenio_records_rest.schemas.fields.SanitizedUnicode
.1 load/dump:
1000 load/dumps:
100000 load/dumps:
The text was updated successfully, but these errors were encountered: