go-tarantool icon indicating copy to clipboard operation
go-tarantool copied to clipboard

Added logic for working with Tarantool schema via Box

Open KaymeKaydex opened this issue 11 months ago • 2 comments

  • Implemented the box.Schema() method that returns a Schema object for schema-related operations

What has been done? Why? What problem is being solved?

I didn't forget about (remove if it is not applicable):

Related issues:

KaymeKaydex avatar Dec 27 '24 17:12 KaymeKaydex

Please, add more unit-tests for a new requests/response. You could see how it is tested on the main package and inside the crud subpackage.

We also need examples (in example_test.go) with new features. This will help users to use the library.

Finally, we need to keep a backward compatibility until a next major release, so we need to add another Info() method with a context instead of changing the current one.

i removed interface changes added new examples for new methods and added more tests to make coverage up, now all methods are covered

KaymeKaydex avatar Jan 21 '25 15:01 KaymeKaydex

Please, fix the commit message:

box: ddded logic for working with Tarantool schema

Implemented the `box.Schema()` method that returns a `Schema`
object for schema-related operations

done

KaymeKaydex avatar Jan 28 '25 20:01 KaymeKaydex

@oleg-jukovec @DerekBum @themilchenko up

KaymeKaydex avatar May 07 '25 09:05 KaymeKaydex

Thank you for the PR! We've added some minor fixes and merged it: https://github.com/tarantool/go-tarantool/pull/446

oleg-jukovec avatar Jun 27 '25 13:06 oleg-jukovec