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

YAML converts arrays to short syntax too early #33

Closed
jasonvarga opened this issue Jan 30, 2018 · 1 comment
Closed

YAML converts arrays to short syntax too early #33

jasonvarga opened this issue Jan 30, 2018 · 1 comment

Comments

@jasonvarga
Copy link
Member

eg.

fields:
  name: { display: Name, validate: 'required|min:2' }

This should be

fields:
  name:
    display: Name
    validate: 'required|min:2'

The short syntax shouldn't happen until several levels in. Maybe never?

@jasonvarga
Copy link
Member Author

It's 💯 now (ie. never)

If you nest more than 100 levels deep, you deserve that syntax.

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

1 participant