Skip to content

iproto: document box.iproto module #3766

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

Merged
merged 4 commits into from
Nov 20, 2023
Merged

iproto: document box.iproto module #3766

merged 4 commits into from
Nov 20, 2023

Conversation

xuniq
Copy link
Contributor

@xuniq xuniq commented Oct 13, 2023

Fixes #3241
Fixes #3288
Fixes #3278

Staging
box.iproto: https://docs.d.tarantool.io/en/doc/gh-3241-iproto/reference/reference_lua/box_iproto/
C API: https://docs.d.tarantool.io/en/doc/gh-3241-iproto/dev_guide/reference_capi/box/

Added

Lua API:

C API:

Binary protocol:

@xuniq xuniq force-pushed the gh-3241-iproto branch 2 times, most recently from dc5db4b to 1392de2 Compare October 23, 2023 14:42
@xuniq xuniq marked this pull request as ready for review October 26, 2023 08:46
@xuniq xuniq requested a review from CuriousGeorgiy October 30, 2023 09:01
@xuniq xuniq requested a review from CuriousGeorgiy November 8, 2023 09:00
@xuniq xuniq changed the title iproto: export IPROTO constants and features to Lua iproto: document box.iprotomodule Nov 8, 2023
@xuniq xuniq changed the title iproto: document box.iprotomodule iproto: document box.iproto module Nov 8, 2023
Copy link
Member

@CuriousGeorgiy CuriousGeorgiy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your fixes. I believe this is the last iteration, so I am approving this, but nevertheless please try to address my comments.

* :ref:`flag <reference_lua-box_iproto_flag>` (:ref:`IPROTO_COMMIT <box_protocol-commit>`)
* :ref:`ballot key <reference_lua-box_iproto_ballot>` (:ref:`IPROTO_FLAG_COMMIT <box_protocol-flags>`)
* :ref:`metadata key <reference_lua-box_iproto_metadata>` (:ref:`IPROTO_FIELD_IS_NULLABLE <internals-iproto-keys-sql-specific>`)
* :ref:`RAFT key <reference_lua-box_iproto_raft>` (:ref:`IPROTO_TERM <internals-iproto-keys-term>`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I see, this page already contains info, examples, and links to IPROTO internals for all namespaces listed in this list. I would think about dropping separate pages for API members (such as box.iproto.key) and moving all these descriptions to the API reference section. But this up to you: I just like the Every page is page one approach to give a user all the context at once :)

In a case you'll decide to merge all this, we can add separate subsections for namespaces, properties, and functions to API reference .

@xuniq xuniq merged commit 117d601 into latest Nov 20, 2023
@xuniq xuniq deleted the gh-3241-iproto branch November 20, 2023 13:48
@xuniq
Copy link
Contributor Author

xuniq commented Nov 20, 2023

Thanks for your fixes. I believe this is the last iteration, so I am approving this, but nevertheless please try to address my comments.

@CuriousGeorgiy Thank you for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants