Title: "Error parsing sqlc.yaml" when generating files · Issue #3007 · sqlc-dev/sqlc · GitHub
Open Graph Title: "Error parsing sqlc.yaml" when generating files · Issue #3007 · sqlc-dev/sqlc
X Title: "Error parsing sqlc.yaml" when generating files · Issue #3007 · sqlc-dev/sqlc
Description: Version 1.24.0 What happened? Can't generate the files, because it seems it can't unmarshal the sqlc.yaml file. Relevant log output go run -mod=mod github.com/sqlc-dev/sqlc/cmd/sqlc generate go: finding module for package github.com/sqlc...
Open Graph Description: Version 1.24.0 What happened? Can't generate the files, because it seems it can't unmarshal the sqlc.yaml file. Relevant log output go run -mod=mod github.com/sqlc-dev/sqlc/cmd/sqlc generate go: fi...
X Description: Version 1.24.0 What happened? Can't generate the files, because it seems it can't unmarshal the sqlc.yaml file. Relevant log output go run -mod=mod github.com/sqlc-dev/sqlc/cmd/sqlc generat...
Opengraph URL: https://github.com/sqlc-dev/sqlc/issues/3007
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"Error parsing sqlc.yaml\" when generating files","articleBody":"### Version\n\n1.24.0\n\n### What happened?\n\nCan't generate the files, because it seems it can't unmarshal the `sqlc.yaml` file.\n\n### Relevant log output\n\n```shell\ngo run -mod=mod github.com/sqlc-dev/sqlc/cmd/sqlc generate\r\ngo: finding module for package github.com/sqlc-dev/sqlc/cmd/sqlc\r\nerror parsing sqlc.yaml: yaml: unmarshal errors:\r\n line 15: field output_querier_file_name not found in type opts.Options\r\nexit status 1\n```\n\n\n### Database schema\n\n```sql\nNot relevant.\n```\n\n\n### SQL queries\n\n```sql\nNot relevant.\n```\n\n\n### Configuration\n\n```yaml\nNot a full configuration, just the problematic part\r\n\r\nsql:\r\n - gen:\r\n go:\r\n output_db_file_name: \"db.gen.go\"\r\n output_models_file_name: \"models.gen.go\"\r\n output_querier_file_name: \"querier.gen.go\"\r\n output_files_suffix: \".gen.go\"\n```\n\n\n### Playground URL\n\n_No response_\n\n### What operating system are you using?\n\nmacOS\n\n### What database engines are you using?\n\nPostgreSQL\n\n### What type of code are you generating?\n\nGo","author":{"url":"https://github.com/andrwkoval","@type":"Person","name":"andrwkoval"},"datePublished":"2023-11-23T13:27:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/3007/sqlc/issues/3007"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:88c5ff07-1b07-dcd8-c153-5813b9d50ee2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D4DE:381E5:2A8819:3A5AFF:6A506376 |
| html-safe-nonce | be1a45140a3542c6356b8f4a6c851fa0327ec3ddfd5b354467a2c8e2a991bc18 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENERFOjM4MUU1OjJBODgxOTozQTVBRkY6NkE1MDYzNzYiLCJ2aXNpdG9yX2lkIjoiMzI3NDgyMjI1MDQxMTM1Mjk1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6df4cc6a933e2dc691508a2ebb5028bd9ad18923b9e8dda880d5d02fe2b7453e |
| hovercard-subject-tag | issue:2008235767 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sqlc-dev/sqlc/3007/issue_layout |
| twitter:image | https://opengraph.githubassets.com/286e0c9e5b877f057e7aa8504fa0e3e20fdba2366730fdcf085308d2c7b0042e/sqlc-dev/sqlc/issues/3007 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/286e0c9e5b877f057e7aa8504fa0e3e20fdba2366730fdcf085308d2c7b0042e/sqlc-dev/sqlc/issues/3007 |
| og:image:alt | Version 1.24.0 What happened? Can't generate the files, because it seems it can't unmarshal the sqlc.yaml file. Relevant log output go run -mod=mod github.com/sqlc-dev/sqlc/cmd/sqlc generate go: fi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andrwkoval |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| turbo-cache-control | no-preview |
| go-import | github.com/sqlc-dev/sqlc git https://github.com/sqlc-dev/sqlc.git |
| octolytics-dimension-user_id | 136738596 |
| octolytics-dimension-user_login | sqlc-dev |
| octolytics-dimension-repository_id | 193160679 |
| octolytics-dimension-repository_nwo | sqlc-dev/sqlc |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 193160679 |
| octolytics-dimension-repository_network_root_nwo | sqlc-dev/sqlc |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width