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

Validation #6

Closed
Rich-Harris opened this issue Nov 21, 2016 · 1 comment · May be fixed by Andrea-MariaDB-2/svelte#2
Closed

Validation #6

Rich-Harris opened this issue Nov 21, 2016 · 1 comment · May be fixed by Andrea-MariaDB-2/svelte#2

Comments

@Rich-Harris
Copy link
Member

Should have a validation step that produces errors/warnings as appropriate, before the component is generated. For example, data should always be a function expression, methods shouldn't clash with builtins, computed properties can't have cyclical dependencies, etc etc.

@Rich-Harris
Copy link
Member Author

Basic validation now implemented, so I'll close this. Only validates export default for now, in future we can add more complex template validation (e.g. an <input> with two-way binding can't have a dynamic type attribute, etc etc)

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

Successfully merging a pull request may close this issue.

1 participant