Closed FlowingSPDG closed 11 months ago
Does it allow "null" or "undefined(no field)"?
This is correct. null
is not the same as undefined
in JS, and the documentation is a TypeScript interface file. When you use undefined
in JS and create a JSON object, the key is not added to the output. You should omit values you don't want to use. If you use nulls, Get5 will error when you attempt to load the match config.
This is correct.
null
is not the same asundefined
in JS, and the documentation is a TypeScript interface file. When you useundefined
in JS and create a JSON object, the key is not added to the output. You should omit values you don't want to use. If you use nulls, Get5 will error when you attempt to load the match config.
Oh I see that I was wrong. Sorry! and thank you, I will omit field on my project.https://github.com/FlowingSPDG/Got5/commit/979f385a7b08470b4a13f342778b3c3b5b729ece
Documentation
Get5 Version
v0.15.0
The Issue
Get5Match on document allows undefined for multiple values, but it does not allow null or undefined in most case.
Match Configuration
Debug Info
No response