Skip to content

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

Merged
merged 29 commits into from
Dec 11, 2019
Merged

Conversation

calebkleveter
Copy link
Member

This results in an erased private _PostgreSQLRow struct instance that handles all the confrmance
Copy link
Member

@tanner0101 tanner0101 left a 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?

@calebkleveter
Copy link
Member Author

@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.

@calebkleveter
Copy link
Member Author

@tanner0101 Both this PR and vapor/fluent-postgres-driver#129 are ready for another review.

tanner0101
tanner0101 previously approved these changes Dec 11, 2019
Copy link
Member

@tanner0101 tanner0101 left a 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

tanner0101
tanner0101 previously approved these changes Dec 11, 2019
@calebkleveter calebkleveter merged commit 0943b3e into vapor:master Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants