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

Support for additional types (varchar, point, integerArray, textArray, doubleArray, jsonArray) #3

Merged
merged 18 commits into from Mar 25, 2021
Merged

Support for additional types (varchar, point, integerArray, textArray, doubleArray, jsonArray) #3

merged 18 commits into from Mar 25, 2021

Conversation

schultek
Copy link
Contributor

I implemented the encoding and decoding of some additional types, especially some array types. I also changed the json type to jsonb and implemented a new json type, to be consistent with the postgres types.

I added the types to additional maps / switch statements that I could find, but I'm not sure I got everything. I would also need help writing tests for the new types.

Copy link
Owner

@isoos isoos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of it looks good to me, but I'd like to see a few changes here and there.

Two more things:

  • Please also update changelog with the description of changes.
  • Please, if possible, add tests to query_test.dart, e.g. creating a table with these types, inserting one row, and reading it back.

lib/src/binary_codec.dart Outdated Show resolved Hide resolved
lib/src/binary_codec.dart Outdated Show resolved Hide resolved
lib/src/binary_codec.dart Outdated Show resolved Hide resolved
lib/src/binary_codec.dart Outdated Show resolved Hide resolved
@schultek schultek requested a review from isoos March 24, 2021 21:14
@isoos isoos merged commit 7f0a24d into isoos:master Mar 25, 2021
@isoos
Copy link
Owner

isoos commented Mar 25, 2021

Published as 2.3.1. Thank you!

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

Successfully merging this pull request may close these issues.

None yet

2 participants