Skip to content

Conversation

isoos
Copy link
Contributor

@isoos isoos commented May 30, 2025

Note there are a few question in this code, e.g.:

  • I have no idea where to place the JsonValueSubjectExt.
  • Whether the JsonValue wrapper is the best way to approach this.
  • Whether the jsonb codec for sqlite is used correctly.

However, I think this may be a good start to start supporting it.

@isoos isoos requested a review from jonasfj May 30, 2025 17:06
@isoos isoos force-pushed the typed-sql-jsonb branch from 2ba779c to 923d18d Compare May 30, 2025 17:14
bool tryReadNull();
}

class JsonValue {
Copy link
Member

Choose a reason for hiding this comment

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

nit: Final, implementation or base, but pick one and reason why :)

Copy link
Member

Choose a reason for hiding this comment

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

Should be documented, not sure if we want it in adapter or typed_sql library..

We definitely need to explicitly document what types are allowed in value including what type parameters map and list must have.

We should not allow adapter specific behaviour here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated (also moved), PTAL.

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.

2 participants