liveh2o / active_remote

Active Remote provides Active Record-like object-relational mapping over RPC. It's Active Record for your platform.
MIT License
63 stars 23 forks source link

Make query attributes more permissive #73

Closed liveh2o closed 5 years ago

liveh2o commented 5 years ago

Active Record considers numeric values present only when zero? is false. This is incompatible with Protobuf enums since they are usually zero-based, but will also cause numeric values not to be sent over the wire when they are 0, 0.0, etc. This may be fine for AR, but doesn't work so well here in Active Remote.