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
Enable auto-completion of error fields #9107
Comments
CuriousGeorgiy
added a commit
to CuriousGeorgiy/tarantool
that referenced
this issue
Mar 4, 2024
Cdata objects cannot have an `__autocomplete` metamethod (it's our custom metamethod). To work this around, we should also lookup the `__autocomplete` method using an object's `__index` metamethod. Part of tarantool#9107 NO_CHANGELOG=<not a reported bug> NO_DOC=<bugfix>
CuriousGeorgiy
added a commit
to CuriousGeorgiy/tarantool
that referenced
this issue
Mar 4, 2024
Let's add an `__autocomplete` method to enable error autocompletion and make the error object easier to use. It will suggest error object fields (including payload fields) and methods. Closes tarantool#9107 NO_DOC=<not a documentable feature>
CuriousGeorgiy
added a commit
to CuriousGeorgiy/tarantool
that referenced
this issue
Mar 4, 2024
Cdata objects cannot have an `__autocomplete` metamethod (it's our custom metamethod). To work this around, we should also lookup the `__autocomplete` method using an object's `__index` metamethod. Part of tarantool#9107 NO_CHANGELOG=<not a reported bug> NO_DOC=<bugfix>
CuriousGeorgiy
added a commit
to CuriousGeorgiy/tarantool
that referenced
this issue
Mar 4, 2024
Let's add an `__autocomplete` method to enable error autocompletion and make the error object easier to use. It will suggest error object fields (including payload fields) and methods. Closes tarantool#9107 NO_DOC=<not a documentable feature>
CuriousGeorgiy
added a commit
to CuriousGeorgiy/tarantool
that referenced
this issue
Mar 4, 2024
Let's add an `__autocomplete` method to enable error autocompletion and make the error object easier to use. It will suggest error object fields (including payload fields) and methods. Closes tarantool#9107 NO_DOC=<not a documentable feature>
CuriousGeorgiy
added a commit
to CuriousGeorgiy/tarantool
that referenced
this issue
Mar 4, 2024
Let's add an `__autocomplete` method to enable error autocompletion and make the error object easier to use. It will suggest error object fields (including own and inherited payload fields) and methods. Closes tarantool#9107 NO_DOC=<not a documentable feature>
CuriousGeorgiy
added a commit
to CuriousGeorgiy/tarantool
that referenced
this issue
Mar 5, 2024
Cdata objects cannot have an `__autocomplete` metamethod (it's our custom metamethod). To work this around, we should also lookup the `__autocomplete` method using an object's `__index` metamethod. Part of tarantool#9107 NO_CHANGELOG=<not a reported bug> NO_DOC=<bugfix>
CuriousGeorgiy
added a commit
to CuriousGeorgiy/tarantool
that referenced
this issue
Mar 5, 2024
Let's add an `__autocomplete` method to enable error autocompletion and make the error object easier to use. It will suggest error object fields (including own and inherited payload fields) and methods. Closes tarantool#9107 NO_DOC=<not a documentable feature>
CuriousGeorgiy
added a commit
to CuriousGeorgiy/tarantool
that referenced
this issue
Mar 5, 2024
Let's add an `__autocomplete` method to enable error autocompletion and make the error object easier to use. It will suggest error object fields (including own and inherited payload fields) and methods. Closes tarantool#9107 NO_DOC=<not a documentable feature>
CuriousGeorgiy
added a commit
to CuriousGeorgiy/tarantool
that referenced
this issue
Mar 13, 2024
Cdata objects cannot have an `__autocomplete` metamethod (it's our custom metamethod). To work this around, we should also lookup the `__autocomplete` method using an object's `__index` metamethod. Part of tarantool#9107 NO_CHANGELOG=<not a reported bug> NO_DOC=<bugfix>
CuriousGeorgiy
added a commit
to CuriousGeorgiy/tarantool
that referenced
this issue
Mar 13, 2024
Let's add an `__autocomplete` method to enable error autocompletion and make the error object easier to use. It will suggest error object fields (including own and inherited payload fields) and methods. Closes tarantool#9107 NO_DOC=<not a documentable feature>
sergepetrenko
pushed a commit
to CuriousGeorgiy/tarantool
that referenced
this issue
Mar 13, 2024
Cdata objects cannot have an `__autocomplete` metamethod (it's our custom metamethod). To work this around, we should also lookup the `__autocomplete` method using an object's `__index` metamethod. Part of tarantool#9107 NO_CHANGELOG=<not a reported bug> NO_DOC=<bugfix>
sergepetrenko
pushed a commit
to CuriousGeorgiy/tarantool
that referenced
this issue
Mar 13, 2024
Let's add an `__autocomplete` method to enable error autocompletion and make the error object easier to use. It will suggest error object fields (including own and inherited payload fields) and methods. Closes tarantool#9107 NO_DOC=<not a documentable feature>
sergepetrenko
pushed a commit
that referenced
this issue
Mar 14, 2024
Cdata objects cannot have an `__autocomplete` metamethod (it's our custom metamethod). To work this around, we should also lookup the `__autocomplete` method using an object's `__index` metamethod. Part of #9107 NO_CHANGELOG=<not a reported bug> NO_DOC=<bugfix>
sergepetrenko
pushed a commit
that referenced
this issue
Mar 14, 2024
Let's add an `__autocomplete` method to enable error autocompletion and make the error object easier to use. It will suggest error object fields (including own and inherited payload fields) and methods. Closes #9107 NO_DOC=<not a documentable feature>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Link to the design document
To make an error object easier to use, we’ll implement the
__autocomplete
method. The method will enable auto-completion of the error object fields in the console. We’ll enable auto-completion for both built-in and payload fields.The text was updated successfully, but these errors were encountered: