When using MemoryViz with an incompatible JSON, such as when a field is missing, MemoryViz may crash.
In this example, type is missing
[{
id: 19,
value: "type is missing",
style: ["highlight"],
}]
It would be nice if there are validations to handle these cases and give more descriptive error messages, such as: Error: "type" is missing while drawing a primitive object.
When using MemoryViz with an incompatible JSON, such as when a field is missing, MemoryViz may crash.
In this example,
type
is missingIt would be nice if there are validations to handle these cases and give more descriptive error messages, such as:
Error: "type" is missing while drawing a primitive object
.