carnival-data / carnival

JVM property graph data unification framework
https://carnival-data.github.io/carnival/
GNU General Public License v3.0
7 stars 2 forks source link

PropertyDefTrait of() and valueOf() informative message if property not defined on target #93

Closed augustearth closed 2 years ago

augustearth commented 2 years ago

Call to MyModal.PX.PROP.valueOf(v) should write an informative message if MyModal.PX.PROP is not defined for v. I'm not sure if it should throw an exception... maybe it should if propertiesMustBeDefined is set to true. In that case, referencing that property value is tantamount to referencing a column that does not exist in a relational database table.