Skip to content

Conversation

kyleconroy
Copy link
Collaborator

Both version 1 and version 2 of the config formats can now be expressed
in YAML. sqlc will look for sqlc.yaml defined in the working directory.

Fixes #330

Both version 1 and version 2 of the config formats can now be expressed
in YAML. sqlc will look for `sqlc.yaml` defined in the working directory.
{
"unknown fields",
"json: unknown field \"foo\"",
`yaml: unmarshal errors:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not happy about this error changing. Going forward, we shouldn't be exposing an error message directory from a dependency.

@kyleconroy kyleconroy merged commit 73b06dc into master Feb 12, 2020
@kyleconroy kyleconroy deleted the yaml branch February 12, 2020 03:29
@mightyguava mightyguava mentioned this pull request Feb 12, 2020
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for YAML

1 participant