mirror of
https://github.com/littensy/charm.git
synced 2026-10-21 03:36:11 +00:00
feat: prepare for alpha release
This commit is contained in:
parent
5a05f01223
commit
f5709c3112
10 changed files with 251 additions and 54 deletions
|
|
@ -41,9 +41,7 @@ local function validate(value: any, key: any)
|
|||
error(`Invalid key type '{typeKey}' at key '{key}'`)
|
||||
elseif UNSAFE_VALUES[typeValue] then
|
||||
error(`Invalid value type '{typeValue}' at key '{key}'`)
|
||||
end
|
||||
|
||||
if typeValue == "table" then
|
||||
elseif typeValue == "table" then
|
||||
if getmetatable(value) ~= nil then
|
||||
error(`Cannot sync tables with metatables! Got {value} at key '{key}'`)
|
||||
elseif isTableUnsafe(value) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue