oxidecomputer / async-bb8-diesel

Safe asynchronous access to Diesel and the bb8 connection manager
MIT License
12 stars 8 forks source link

Async save changes #3

Closed smklein closed 3 years ago

smklein commented 3 years ago

Provides a variant of https://github.com/oxidecomputer/async-bb8-diesel/pull/2 which attempts to:

1) Mimic the synchronous interface fairly closely. Using diesel's examples, updated the example to derive AsChangeset and Identifiable directly.

2) Simplify trait bounds, by directly requiring UpdateAndFetchResults, rather than implying it indirectly.