Skip to content

Dialect does not implement schema.Dialect (missing method DefaultVarcharLen) #782

@guyguy333

Description

@guyguy333

Updating module github.com/uptrace/bun to v1.1.11 results in this error during build with Go 1.20:

# github.com/uptrace/bun/dialect/pgdialect
vendor/github.com/uptrace/bun/dialect/pgdialect/append.go:149:25: cannot use d (variable of type *Dialect) as schema.Dialect value in argument to schema.Appender: *Dialect does not implement schema.Dialect (missing method DefaultVarcharLen)
vendor/github.com/uptrace/bun/dialect/pgdialect/dialect.go:34:30: cannot use d (variable of type *Dialect) as schema.Dialect value in argument to schema.NewTables: *Dialect does not implement schema.Dialect (missing method DefaultVarcharLen)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions