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

[Feature Request] Change the syntax of the template: keyword #29

Open
TenviLi opened this issue Jul 28, 2021 · 0 comments
Open

[Feature Request] Change the syntax of the template: keyword #29

TenviLi opened this issue Jul 28, 2021 · 0 comments

Comments

@TenviLi
Copy link

TenviLi commented Jul 28, 2021

In the future, there will be more and more special fields in various types of templates.

In order to prevent confusion when writing at the same level, it is recommended to indent and write the special fields under the template: keyword.

old syntax

template: 'table'
fields: ['index']

new syntax

template:
    type: 'table'
	fields: ['index‘]

Would it be more comfortable to write like this 😉😉😉

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