-
Notifications
You must be signed in to change notification settings - Fork 43
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
Conversation
dc5db4b
to
1392de2
Compare
box.iproto
module
box.iproto
modulebox.iproto
module
There was a problem hiding this 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.
a6a88b5
to
c9cf56d
Compare
* :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>`) |
There was a problem hiding this comment.
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
.
* add functions to Lua and C API * add box.iproto module
b513b85
to
7d9f4ef
Compare
@CuriousGeorgiy Thank you for the review! |
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:
type
,ballot
,key
,metadata
,raft
,flag
) and features (protocol_features
,protocol_version
,feature
) - each constant type is placed in the correspondingbox.iproto
page.C API:
Binary protocol: