Repository navigation
Migrate the Go driver to Prism 2.2 and prepare v0.1.0 - #1
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use Prism 2.2 bindings from a shared Go module and remove the generated
prism/copy.SearchEntitiesexposes collection and table metadata throughsql.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.Txcontrols 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.0tag and pin this driver tov2.2.0before merging and releasingv0.1.0.