drive-server
drive-server copied to clipboard
[PB-557] bug: file size from the drive-server comes as string
Added the virtual field numericSize
in order to return the file size as a number instead of string. Whichever client needs the size as a number could simply use this property.
@JoanVicens I thought the size was measured in MB, I'll make the change.
@PixoDev Can this break anything on mac?
This will break a lot of API responses in the MacOS app because we are expecting an string there @JoanVicens @edisonjpadilla.
Let me think a solution for this so we don't break production already please, don't merge this yet. Will this apply to all the responses that includes the size field?
We could add a new field so the clients can migrate to it and once every client no longer uses it change the size to number (and migrate again?) @sg-gs