-
Notifications
You must be signed in to change notification settings - Fork 43
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
Support max_upload_file_size > 50mb default #114
Comments
Thanks for reporting this. Makes sense to fix this. I'd like to have a quick discussion on how to fix this because we can't simply change the type of the field as that'd change the API, potentially breaking user's code. Specially if we want to support >4GB files as that requires a custom scalar (64 bits numbers are not directly supported by the graphql spec) My proposal is as follows: Add new columns Alternatively we could add new min/max columns where we allow representing file sizes as Thoughts? |
I like adding size unit. That should preserve backward compat, with default to bytes. I'd suggest to KISS and add just a single column |
Yeah, there are theoretical cases where that might not work (imagine wanting a very small minimum amount and a very large maximum amount) but they are probably unrealistic cases so I am leaning towards a single column like you suggested |
This looks good to me. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale still wanted |
Is there any progress on this? |
No progress yet as this hasn't been a priority. If this is a must for you don't hesitate to reach out to us via discord/email so we can discuss it. Thanks! |
is there any progress on this? |
Trying to set default bucket max_upload_file_size to 5gb per file hits this error in hasura console:
max_upload_file_size
on storage.buckets should be a bigintThe text was updated successfully, but these errors were encountered: