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

Relax any sequence schema restrictions #15

Closed
ghost opened this issue Nov 16, 2017 · 0 comments
Closed

Relax any sequence schema restrictions #15

ghost opened this issue Nov 16, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 16, 2017

The potential use of Fn::If can muck with even the most basic restriction to have a sequence. The Fn::If is a Hash, but could have a legit array "output".

This could play in with #10 but in the meantime, probably makes sense to reduce the schema validators to only include required fields and set them to any. For each field we make this change, we need to check there isn't a core rule that will be affected in an undesirable way (i.e. something it needs to check itself that previously it depended upon being correct).

ghost pushed a commit that referenced this issue Dec 18, 2017
…s any since Fn::If return value could be the right data type
@ghost ghost closed this as completed Dec 18, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants