Closed duffn closed 4 months ago
EnableController is available on the CommenterConfig struct (https://github.com/google/sqlcommenter/blob/c447d218a1b8ff628571b22cf4e74f2a6fe2e38a/go/core/core.go#L48), however, the code that outputs the SQL comment does not output a comment for the controller context key (https://github.com/google/sqlcommenter/blob/c447d218a1b8ff628571b22cf4e74f2a6fe2e38a/go/database/sql/connection.go#L94-L149).
EnableController
CommenterConfig
controller
I will plan to open a PR for this.
EnableController
is available on theCommenterConfig
struct (https://github.com/google/sqlcommenter/blob/c447d218a1b8ff628571b22cf4e74f2a6fe2e38a/go/core/core.go#L48), however, the code that outputs the SQL comment does not output a comment for thecontroller
context key (https://github.com/google/sqlcommenter/blob/c447d218a1b8ff628571b22cf4e74f2a6fe2e38a/go/database/sql/connection.go#L94-L149).I will plan to open a PR for this.