Back

Why should the string type be fixed-length instead of auto-enrichment

  • 0
  • Self Hosted
  • Flutter
  • Web
u_peter
12 Jul, 2023, 09:01

Why does the avatar field type string need to be fixed, rather than mutable, I updated the user avatar in the background, and the length sang over the fixed length here, so I couldn't add it

TL;DR
The user is asking why the string type for the avatar field needs to be fixed-length instead of mutable. They mention being a front-end developer and not understanding back-end deployment. The support team explains that the current version of the cloud is 1.1.2 and upgrading to a later version is not possible on the cloud. They suggest self-hosting as an alternative. Another user asks how to switch to a better version and the support team explains that attributes can be updated in versions after 1.3.0 and that the current version has a fixed length for strings. The user is not able to add the avatar because it exceeds
joeyouss
12 Jul, 2023, 15:16

Hi there

joeyouss
12 Jul, 2023, 15:17

If I understand correctly, you are talking about why is string attribute not mutable/can be updated after creation. I might be wrong but :

  • You can update/edit attributes in versions after 1.3.0
  • Mutable length : yes, we have fixed length as of now
u_peter
14 Jul, 2023, 08:45

@joeyoussHow to switch to a better version, I use your cloud background instead of my own doctor

u_peter
14 Jul, 2023, 08:47

https://cloud.appwrite.io/console This version is 1.1.2 How to upgrade to a later version

joeyouss
14 Jul, 2023, 12:07

currently cloud is on 1.1.2 so it isnt possible to use a better version on cloud. You can use a self hosted version if you want https://appwrite.io/docs/self-hosting

u_peter
17 Jul, 2023, 06:27

Why can't cloud update the latest version, I'm a front-end developer, I don't understand doctor and back-end deployment at all, I hope cloud can think of Firebase, Amplify, like that, can have a hosting platform, let us use it better @joeyouss

joeyouss
19 Jul, 2023, 09:45

hey

joeyouss
19 Jul, 2023, 09:45

it will be on latest version in few weeks

joeyouss
19 Jul, 2023, 09:46

we are taking a bit more time since we need to make sure all migrations and everything functions smoothly

joeyouss
19 Jul, 2023, 09:46

I understand your concern and with Cloud, we are trying to make development really easy for devs, so I appreciate your patience while we update!

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more