go-tarantool
go-tarantool copied to clipboard
Tarantool 1.10+ client for Go language
The legacy push notification mechanism—based on `box.session.push` has been fully replaced by the `Watcher` interface. All code supporting this obsolete push API is now deprecated and should be **completely removed....
We need a dedicated, reusable mock implementation of the `tarantool.Watcher` interface to enable reliable and isolated unit testing for components that depend on watch events. The real `Watcher` typically works...
To simplify and standardize data setup in integration and end-to-end tests, we should integrate support for test fixtures—structured, version-controlled YAML (or JSON) files that define initial database state (spaces, tuples,...
Currently, the test mocks for the Tarantool client use separate types for mocking requests and responses (e.g., a standalone `ResponseMock`). This makes test setup verbose and exposes internal implementation details...
The `test_helpers/pool_helper.go` file contains utility functions used across integration and e2e tests to interact with Tarantool clusters. While functional, the code can be significantly improved for type safety, readability, maintainability,...
I'm pretty sure that my config was alreary right, I've tried to connect with CLI and it works, but it why it doesn't work via Go ? ## Connect with...
Refactor the `test_helpers` package to accept a **custom `T` interface** instead of concrete `*testing.T`. This makes test utilities reusable in examples, benchmarks, or custom test runners. Types like `MockDoer` and...
### Overview We are considering a significant design change for the upcoming **v3** release of the Tarantool Go client: **replacing the current concrete `Future` struct with an interface**. This change...
### Goal As part of the v3 cleanup, **remove all methods marked as `// Deprecated: ... will be removed in the next major version`**. These have been superseded by the...
### Summary In v3, we want to unexport both fields of the `Stream` struct to enforce encapsulation and prevent misuse. Access to the stream ID should be provided via a...