cornucopia-rs / cornucopia

Generate type-checked Rust from your PostgreSQL.
Other
835 stars 38 forks source link

Builder or similar pattern for Cornucopia configuration. #189

Open LouisGariepy opened 1 year ago

LouisGariepy commented 1 year ago

As mentioned in this comment, every configuration and codegen setting incurs a breaking change. We could avoid this by using a builder pattern to ensure less breakage and more ergonomic configuration for our users.

Issue #177 is kind of stalled on this currently.