Back

1.2.1 Allowed characters: alphanumeric, non-leading hyphen, underscore, period

  • 0
  • General
  • Databases
wadman
10 Mar, 2023, 18:07

I think is an error here Hi there 🙂

TL;DR
Summary: The thread discusses making the warning messages more clear regarding allowed characters in an ID field. It is suggested to specify the exact allowed characters and specify that the ID must begin with a letter or number. There is also an error mentioned. Solution: Update the warning messages to say "allowed characters: letters, numbers, hyphens, underscores, periods" and specify that the ID must begin with a letter or number. Fix the error mentioned.
Drake
10 Mar, 2023, 18:10

i think we mean non-leading hyphen, non-leading underscore, and non-leading period.

@VincentGe, do you think we need to make this clearer?

VincentGe
10 Mar, 2023, 19:17

If we want to make it clearer, we can make the warning more exact.

  1. If there's a character that's not allowed, say "allowed characters: letters, numbers, hyphens, underscores, periods.
  2. If there are leading characters that aren't valid, warning should say "ID must begin with a letter or number"
VincentGe
10 Mar, 2023, 19:17

CC: @Sara Does this make sense? We can add to copy audit

Drake
10 Mar, 2023, 19:18

I think your 2nd point is a good idea

VincentGe
10 Mar, 2023, 19:19

Yeah more exact messages always help

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