steveski/Perigee.Framework

Default value on boolean entities doesn't work properly.

Closed this issue · 1 comments

I have a boolean attribute on an entity, with a default value of true.

I create an instance of the entity where I set the value to false. But the value going in to the database is true. Ie the default value is taking precedence, instead of the "user" value.

I'll put together a test to demonstrate.

I could not reproduce this in a stand alone test. Must be something I've missed in my project.