-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Storage fields validators #51
Conversation
Re |
sha256
,size
andlfs_prefix
attributes are key to be able to download correctly so we need to validate they're being set correctly when creating a resource via UI or API.Nowadays all the logic and validation is in the FronEnd, this will move the logic to the backed so API users can also have a validation.
Note: the creation and the structure of the
lfs_prefix
depends on each instance so I'm just validating that the field exist in the resource schema. Let me know your thoughts!