replace YAML config with JSON one#71
replace YAML config with JSON one#71daniellionel01 merged 20 commits intodaniellionel01:mainfrom sz3lbi:sqlc-json
Conversation
|
Honestly, I'm not sure if differentiating between config versions is necessary in this case. This is especially true since it's an internal implementation, and you, as the package owner, decide which version will be used (exclusively or not). |
hi! thanks for this improvement. I've got time to work on this now. |
|
@sz3lbi i can finish the PR this week, or would you like to do it? |
I will do what we agreed upon today, and then you can make adjustments if necessary :) |
|
Please squash the commits for readability. |
|
For documentation sake: I explicitly linked the sqlc.json config file when |
This PR introduces type-safe JSON configuration generation for
sqlcbased on Gleam types instead of the YAML configuration based on string concatenation.JSON Schema: https://www.schemastore.org/sqlc-2.0.json (source: sqlc-dev/sqlc#4102)