You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Big fan of this project, looking forward to its progress.
With that said, I see that you're using raw serde for configuration, and I humbly suggest using my schematic (https://moonrepo.github.io/schematic/config/index.html) crate for configuration instead. I've spent a lot of time fine tuning this crate, as it packs a ton of features. Some of these features include layering + merging + extending, default values, built-in validation, environment variables, and more.
All of this is backed by a powerful derive macro, for example:
On top of configuration, the crate is also provides schema modeling (https://moonrepo.github.io/schematic/schema/index.html), which is automatically generated when using the Config macro. Schemas enable powerful code generation, for example, generating TypeScript types or JSON schemas!
And lastly, if using miette, you'd get nice error messages like so:
To Reproduce
N/A
Expected Behavior
N/A
Environment:
Additional Context
Open to collaborating on this if you're interested!
The text was updated successfully, but these errors were encountered:
Description
Big fan of this project, looking forward to its progress.
With that said, I see that you're using raw serde for configuration, and I humbly suggest using my
schematic
(https://moonrepo.github.io/schematic/config/index.html) crate for configuration instead. I've spent a lot of time fine tuning this crate, as it packs a ton of features. Some of these features include layering + merging + extending, default values, built-in validation, environment variables, and more.All of this is backed by a powerful derive macro, for example:
On top of configuration, the crate is also provides schema modeling (https://moonrepo.github.io/schematic/schema/index.html), which is automatically generated when using the
Config
macro. Schemas enable powerful code generation, for example, generating TypeScript types or JSON schemas!And lastly, if using miette, you'd get nice error messages like so:
To Reproduce
N/A
Expected Behavior
N/A
Environment:
Additional Context
Open to collaborating on this if you're interested!
The text was updated successfully, but these errors were encountered: