-
Notifications
You must be signed in to change notification settings - Fork 8
replace YAML config with JSON one #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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)