scotthovestadt / schema-object

Enforce schema on JavaScript objects, including type, transformation, and validation. Supports extends, sub-schemas, and arrays.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hide internal fields on object (using Symbol)

scotthovestadt opened this issue · comments

Nice-to-have that makes using the object feel more clean.

Related to #4 in that that a custom iterator also uses Symbols and Symbols are not iterable, so this might just solve #4 outright.