plastikfan / jaxom-ts

Another JSON to XML converter with inheritable attributes and custom element consolidation
MIT License
0 stars 0 forks source link

Prevent user building an abstract element #20

Closed plastikfan closed 4 years ago

plastikfan commented 4 years ago

This will require buildElement to be split out into 2 parts; the first part is the entry point from the user call at which point we can check for the abstract flag and throw if present. The second part is the existing recursive functionality.