Skip to content

Warn about deprecation of old config methods instead of breaking existing code

Compare
Choose a tag to compare
@VaporBot VaporBot released this 11 May 18:37
· 8 commits to main since this release
bb3ab8e
This patch was authored and released by @gwynne.

Previously working code which uses the now-deprecated PostgresConfiguration type with the .postgres factory methods (rather than its replacement, SQLPostgresConfiguration) while specifying neither a data encoder or decoder was throwing compiler errors. Such code now issues the intended deprecation warning instead, while continuing to work as before.

Fixes #211