The Package object holds quite a bit of data, and it is pretty loose right now in checking what is expected.
You can construct an incorrect one pretty easily.
We need some validation of sorts, possibly by defining some schema/validation library.
There are many such libraries so the hard part is picking a sensible and simple one.
The Package object holds quite a bit of data, and it is pretty loose right now in checking what is expected.
You can construct an incorrect one pretty easily.
We need some validation of sorts, possibly by defining some schema/validation library.
There are many such libraries so the hard part is picking a sensible and simple one.