UVASOMIT / metron

JavaScript convenience library and framework written in TypeScript.
MIT License
6 stars 7 forks source link

Creating a list with the same model overwrites existing lists #171

Open TomJLynch opened 6 years ago

TomJLynch commented 6 years ago

In the load section for a form, I defined a list that I had already defined in the load section of the list. That overwrote the first list in the globals, causing bugs because various properties were undefined. It wasn't obvious that I did that. We should do something. Prevent it; allow it and log it; don't create a new list and just return the existing one?

szul commented 6 years ago

Two possible options: