isar-community / isar

Extremely fast, easy to use, and fully async NoSQL database for Flutter
https://isar-community.dev
Apache License 2.0
126 stars 14 forks source link

isar_generator should check for "forbidden" property names in collections #53

Closed mrclauss closed 4 months ago

mrclauss commented 4 months ago

Is your feature request related to a problem? Please describe. There are several names for properties that will not work (in some engine). Example: Naming a property "unique" works as long as you use Isar engine, but will lead to unreadable error messages when using sqlite engine.

Describe the solution you'd like Isar_generator should check for such names and abort in that case...

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Version