AmpersandTarski / Ampersand

Build database applications faster than anyone else, and keep your data pollution free as a bonus.
http://ampersandtarski.github.io/
GNU General Public License v3.0
40 stars 8 forks source link

restrict relations identifiers #1280

Closed stefjoosten closed 2 years ago

stefjoosten commented 2 years ago

What happened

I defined a relation whose name has a diacritic in it: "allergieën". The compile and build towards a prototype went smoothly, but the database falls over: Screenshot 2022-03-13 at 07 31 15

What I expected

I expected one of the following:

  1. It works
  2. It doesn't work and it is signalled to me by an error at compile-time (That would have been perfectly fine. I suggest we implement this alternative.)

Version of ampersand that was used

I used Ampersand-v4.6.2

hanjoosten commented 2 years ago

I ran into this very issue last month, when I fixed the bitrot of the validate functionality. It has been fixed. Make sure you have the latest version of the ampersand generator.