Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changes/unreleased/Breaking-20251210-092132.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Breaking
body: Config option `driver` is now required instead of defaulting to asyncpg
time: 2025-12-10T09:21:32.2253488Z
custom:
Author: rayakame
PR: "138"
2 changes: 2 additions & 0 deletions .changie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ kinds:
auto: patch
- label: Dependencys
auto: patch
- label: Breaking
auto: patch
newlines:
afterChangelogHeader: 1
beforeChangelogVersion: 1
Expand Down
2 changes: 1 addition & 1 deletion internal/core/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func ParseConfig(req *plugin.GenerateRequest) (*Config, error) {
return nil, fmt.Errorf("unmarshalling plugin options: %w", err)
}
if config.SqlDriver == "" {
config.SqlDriver = SQLDriverAioSQLite
return nil, fmt.Errorf("invalid options: driver must not be empty")
}
val, err := isDriverAsync(config.SqlDriver)
if err != nil {
Expand Down