<
FromGitter>
<Blacksmoke16> its a start but would like some feedback
<
FromGitter>
<Blacksmoke16> @nsuchy @drujensen @robacarp
feepbot has quit [Ping timeout: 245 seconds]
feepbot has joined #amber
<
FromGitter>
<Blacksmoke16> created a custom CrSerializer assertion for making sure a record with a given ID exists
<
FromGitter>
<Blacksmoke16> behind the scenes would execute like `SELECT exists(SELECT 1 FROM listing_items WHERE id = $1);`
<
FromGitter>
<Blacksmoke16> most useful for APIs, as then you could assert that a record exists for a property with the given id
<
FromGitter>
<Blacksmoke16> for example
<
FromGitter>
<Blacksmoke16> 💯
<
FromGitter>
<Blacksmoke16> vs handling it within a controller action
<
FromGitter>
<Blacksmoke16> wish there was a better way to handle the items array
<
FromGitter>
<Blacksmoke16> would be neat if calling save on the outer obj handled saving nested types as well
<
FromGitter>
<Blacksmoke16> but could get tricky