lua-language-server icon indicating copy to clipboard operation
lua-language-server copied to clipboard

Question: is there any way to specify version of the platform?

Open ochaton opened this issue 1 year ago • 1 comments

Hello, we heavily use annotations for our database https://tarantool.io/ and we add new functions and parameters with each minor release. Is there any legal way to specify version of the platform (like you use @version for Lua) since from which the method (or option of the class) is available?

For example:

---@meta

---@since 2.10.0
---@param key string
---@param value any
function box.broadcast(key, value) end

I think that openresty have the same issue, don't they?

ochaton avatar Mar 06 '24 16:03 ochaton

Up please!

vaintrub avatar May 03 '24 09:05 vaintrub