Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to migrate obsolete PostgreSqlBootstrapperConfigurationExtensions usage #356

Closed
Herdo opened this issue Apr 22, 2024 · 2 comments
Closed

Comments

@Herdo
Copy link
Contributor

Herdo commented Apr 22, 2024

The most methods in PostgreSqlBootstrapperConfigurationExtensions are flagged as obsolete for version 2.0.0 of this library.
However, the successor doesn't provide the configuration capabilities to configure stuff like SchemaName, PrepareSchemaIfNecessary, DistributedLockTimeout, etc.

What's the plan to configure these settings in the future if everything there is private?

@azygis
Copy link
Collaborator

azygis commented Apr 22, 2024

There's another overload for passing the PostgreSqlStorageOptions as the next argument when registering the storage, same way as the old methods.

@azygis azygis closed this as completed Apr 22, 2024
@azygis
Copy link
Collaborator

azygis commented Apr 22, 2024

@Herdo check this one.

Herdo added a commit to Herdo/Hangfire.PostgreSql that referenced this issue Apr 24, 2024
azygis added a commit that referenced this issue Apr 24, 2024
#356 Improved message in ObsoleteAttribute to point to correct successor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants