Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should Types (e.g. Manifest, Sequence) raise warning when unexpected values are marshaled? #4

Open
jpstroop opened this issue Nov 6, 2014 · 0 comments
Labels

Comments

@jpstroop
Copy link

jpstroop commented Nov 6, 2014

AbstractObject has ALLOWED_ANYWHERE_PROPS, Manifest has ARRAY_KEYS and (will have) ANY_TYPE_KEYS. If all types had these, we could check all of the keys and raise warnings when unexpected keys are present (they can always be added via []=). User could supply an argument (e.g. force=true) if they really want these to make it through.

@jpstroop jpstroop changed the title Should Types (e.g. Manifest, Sequence) have raise warning when unexpected values are marshaled? Should Types (e.g. Manifest, Sequence) raise warning when unexpected values are marshaled? Nov 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant