Skip to content

SurrealDB client needs update after API changes in v1.0.0 #2429

@Umang01-hash

Description

@Umang01-hash

Description:

After upgrading github.com/surrealdb/surrealdb.go from v0.3.3 to v1.0.0, our SurrealDB client implementation no longer compiles due to significant API changes.

Key Issues:

  • Previous structures like NewConnectionParams no longer exist
  • Connection creation methods (NewHTTPConnection, NewWebSocketConnection) are gone
  • Connect() now requires a context parameter
  • Connection interface has changed substantially

Required Changes:

  • Update the connection initialization code to use the new API pattern

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions