-
-
Notifications
You must be signed in to change notification settings - Fork 55
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Starting in 2.7.0, the following code no longer builds for me:
let _ = DatabaseConfigurationFactory.postgres(
configuration: PostgresConfiguration(url: "")!,
maxConnectionsPerEventLoop: 1,
connectionPoolTimeout: .seconds(30),
sqlLogLevel: .info
)
The build error is:
cannot convert value of type 'PostgresConfiguration' to expected argument type 'SQLPostgresConfiguration'
To Reproduce
Paste in the code example above, using version 2.7.0 of this package.
Expected behavior
The code would build.
Environment
Tested on macOS and Linux.
Additional context
I haven't looked into the cause yet. I'll share a workaround as soon as I have a chance to make one, but ideally the code example above would still build after updating, and maybe a new patch could address that.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working