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
i'm so happy to find out your good project --redisco
and i try this lib in my personal project
however i think it can be better if it has more feature such as:
add options in fields, so we can define the field like this: status = Attribute(required=True, options=['draft', 'private', 'publish', 'trash']
add Reference List Field, such we can has a reference field list like: categories = ListField(ReferenceField('Category'))
i found that all index field in redis was saves index as a set, whether can we save it as a string
if we set this field unique=True
that's all my suggestion, i hope it can help improve redisco...thx..
The text was updated successfully, but these errors were encountered:
For #1 it looks like you want a feature like djangos ChoiceField.
#2 looks like a variation on #1 (especially if options could accept a callable).
Different storage strategies seems like it could be interesting, though I guess it complicates the implementation slightly, maybe you would be up for doing an example implementation for one of the field types ?
i'm so happy to find out your good project --redisco
and i try this lib in my personal project
however i think it can be better if it has more feature such as:
status = Attribute(required=True, options=['draft', 'private', 'publish', 'trash']
categories = ListField(ReferenceField('Category'))
if we set this field
unique=True
that's all my suggestion, i hope it can help improve redisco...thx..
The text was updated successfully, but these errors were encountered: