-
-
Notifications
You must be signed in to change notification settings - Fork 69
Custom JSON Coders for Postgres Data Coders #159
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
Conversation
…der to PostgresEncoder
…ct call in PostgresConnectionSource.makeConnection method
…Database.encoder and .decoder properties
This results in an erased private _PostgreSQLRow struct instance that handles all the confrmance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks a lot better, thanks! Is there any way we could write a unit test to make sure everything's working?
…n.test(on:) method
This reverts commit 0fa2d80.
@tanner0101 Ready for another review. I've added a test case for the custom JSON coding to the FluentPostgresDriver, since that was the easiest place to put it. |
@tanner0101 Both this PR and vapor/fluent-postgres-driver#129 are ready for another review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one nit, then LGTM. You can merge and tag if you want
Co-Authored-By: Tanner <[email protected]>
Relies on vapor/postgres-nio#59