Electron100 / butane

An ORM for Rust with a focus on simplicity and on writing Rust, not SQL
Apache License 2.0
83 stars 11 forks source link

Move save logic out of procmacro #209

Closed Electron100 closed 3 months ago

Electron100 commented 3 months ago

Generated code is challenging to write and even more challenging to debug. As part of a gradual effort to reduce the amount (or at least complexity) of generated code, move the DataObject::save method out of codegen, with a handful of simpler helpers needed by that method generated instead.

This is a refactoring changes. No difference is expected in API surface or result