Skip to content

Migrate the Go driver to Prism 2.2 and prepare v0.1.0 - #1

Merged
vogti merged 1 commit into
mainfrom
codex/prism-2.2-go-release
Nov 15, 2026
Merged

vogti merged 1 commit into
mainfrom
codex/prism-2.2-go-release

Conversation

@vogti

@vogti vogti commented Nov 15, 2026

Copy link
Copy Markdown
Member

Use Prism 2.2 bindings from a shared Go module and remove the generated prism/ copy. SearchEntities exposes collection and table metadata through sql.Conn.Raw. MQL results decode the Prism 2.x document format, including nested values.

SQL calls bind positional parameters and read every result frame. Standalone statements use auto-commit and sql.Tx controls commit and rollback. The driver reads complete TCP frames, surfaces server errors, and discards a connection interrupted mid-request. The README includes installation, live examples, and test commands.

CI runs Go 1.23 and stable checks plus SQL, MQL, and metadata tests against a real Prism 2.2 server. Local go mod verify, go vet, and all 18 tests with the race detector and live server passed using the public module proxy.

Release dependency: polypheny/Polypheny-Prism-API#6 publishes the shared module. This draft uses the reviewed PR commit through the Go proxy for CI. After the upstream PR merges, publish its go/v2.2.0 tag and pin this driver to v2.2.0 before merging and releasing v0.1.0.

Use the shared Prism Go module, expose entity metadata, and fix TCP framing, SQL parameters, result pagination and transaction handling. Add repeatable unit and server integration checks and document installation and usage.
@vogti
vogti marked this pull request as ready for review November 15, 2026 17:22
@vogti
vogti merged commit 75e489c into main Nov 15, 2026
3 checks passed
@vogti
vogti deleted the codex/prism-2.2-go-release branch November 15, 2026 17:25
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.

1 participant