typhon-project / typhonql

Typhon Query Language
Eclipse Public License 2.0
4 stars 1 forks source link

[BUG] attributes should not be nullable #96

Closed DavyLandman closed 3 years ago

DavyLandman commented 4 years ago

Describe the bug

We've decided that attributes should not be nullable, but QL currently allows insert queries where fields aren't defined. Querying on these fields later on causes null pointer exceptions.

The type-checker catches it, but it is not run on the API, and it doesn't support parameterized queries.

Expected behavior

A insert query with missing fields should not be compiled and executed.