Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New checks types #44

Merged
merged 4 commits into from
Jan 16, 2023
Merged

Conversation

DifferentialOrange
Copy link
Member

@DifferentialOrange DifferentialOrange commented Jan 13, 2023

code-health: rework Tarantool type checkers

Change Tarantool type checkers builder to add checkers if there are expected modules.

Part of tarantool/tarantool#7726

feature: support error type

Support error type checks for box.error objects [1] (can be explicitly created in Tarantool Lua scripts since 2.4.1).

  1. Expose box.error to be used by applications tarantool#4398

Part of tarantool/tarantool#7726

feature: support datetime type

Support datetime type checks [1] (added in Tarantool 2.10.0).

  1. Introduce TIMESTAMP type to Tarantool tarantool#5941

Part of tarantool/tarantool#7726

feature: support interval type

Support interval type checks [1] (added in Tarantool 2.10.0).

  1. Introduce TIMESTAMP type to Tarantool tarantool#5941

Part of tarantool/tarantool#7726

@DifferentialOrange DifferentialOrange marked this pull request as ready for review January 13, 2023 17:03
Base automatically changed from DifferentialOrange/migrate-to-luatest to master January 16, 2023 07:21
@DifferentialOrange DifferentialOrange force-pushed the DifferentialOrange/new-checks-types branch 2 times, most recently from 4fb6d0f to d167608 Compare January 16, 2023 07:29
@DifferentialOrange
Copy link
Member Author

Rebased, ready for review

checks.lua Show resolved Hide resolved
checks.lua Outdated Show resolved Hide resolved
Change Tarantool type checkers builder to add checkers if there are
expected modules.

Part of tarantool/tarantool#7726
Support error type checks for box.error objects [1] (can be explicitly
created in Tarantool Lua scripts since 2.4.1).

1. tarantool/tarantool#4398

Part of tarantool/tarantool#7726
Support datetime type checks [1] (added in Tarantool 2.10.0).

1. tarantool/tarantool#5941

Part of tarantool/tarantool#7726
Support interval type checks [1] (added in Tarantool 2.10.0).

1. tarantool/tarantool#5941

Part of tarantool/tarantool#7726
@DifferentialOrange DifferentialOrange force-pushed the DifferentialOrange/new-checks-types branch from d167608 to a501cc5 Compare January 16, 2023 14:49
@yngvar-antonsson
Copy link
Contributor

Thank you for the patch! LGTM

@DifferentialOrange DifferentialOrange merged commit a11224f into master Jan 16, 2023
@DifferentialOrange DifferentialOrange deleted the DifferentialOrange/new-checks-types branch January 16, 2023 20:04
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.

3 participants