Closed
Description
Currently, sqlc adds this comment to generated files:
// Code generated by sqlc. DO NOT EDIT.
It would be nice to include also the sqlc version, something like:
// Code generated by sqlc v1.12.0. DO NOT EDIT.
Why? If a developer is using an older version of sqlc, he/she would notice that before committing:
- // Code generated by sqlc v1.13.0. DO NOT EDIT.
+ // Code generated by sqlc v1.12.0. DO NOT EDIT.
// ...
What do you think?