justin-millman / Kvasir

A non-invasive object-relational mapping framework for a variety of back-end database providers
GNU General Public License v3.0
0 stars 1 forks source link

Disallow By-Ref Properties #111

Closed justin-millman closed 4 months ago

justin-millman commented 4 months ago

This commit disallows properties whose return type is by-ref from being included in the Kvasir data model. This required a new TypeCategory and a new branch in the type-display logic, but otherwise was a vanilla change. These properties are disallowed because I don't know what their implications are for data changing, so I'd rather disallow them for now; I can always loosen that restriction in the future. (But honestly, I probably won't.)