Skip to content

Adjusting the codegen handler order #2716

Closed
@topazur

Description

@topazur

Version

1.21.0

What happened?

repo: sqlc-gen-go-separate

I have created a plugin with the aim of changing the codegen/golang templates to meet my project requirements.

But I found that due to the order of the handlers, I cannot use the config.SQLGen field in the configuration item.

I think we should lower the priority of golang.Generate.

Playground URL

No response

What operating system are you using?

macOS

What database engines are you using?

PostgreSQL

What type of code are you generating?

Go

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplugin

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions