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

Create a catch-all grammar node for capturing anything of the format {{*}} to enable a generalized invalid / incorrect feelers validation #2

Open
Skaiir opened this issue Mar 2, 2023 · 0 comments
Labels

Comments

@Skaiir
Copy link
Contributor

Skaiir commented Mar 2, 2023

Is your feature request related to a problem? Please describe.

We currently have incomplete linting; a user may write invalid templates but be unaware of why they are invalid.

Describe the solution you'd like

I think treating anything of the format {{*}} as feelers syntax using some kind of low priority catch-all in the grammar, and then trying to parse it with more specific selectors would let us apply linting rules to anything that doesn't match the specific ones.

I think this would be useful to catch syntax like {{#for array}} which is just invalid.

Describe alternatives you've considered

We could leave the linting as-is, which already has some generic syntax error handling, but it won't give us the level of control we would want, especially when it comes to feelers-specific syntax.

@Skaiir Skaiir added the enhancement New feature or request label Mar 2, 2023
@Skaiir Skaiir changed the title Create a catch-all grammar node for capturing anything of this format {{}} to enable a generalized invalid / incorrect feelers validation Create a catch-all grammar node for capturing anything of this format {{*}} to enable a generalized invalid / incorrect feelers validation Mar 2, 2023
@Skaiir Skaiir changed the title Create a catch-all grammar node for capturing anything of this format {{*}} to enable a generalized invalid / incorrect feelers validation Create a catch-all grammar node for capturing anything of the format {{*}} to enable a generalized invalid / incorrect feelers validation Mar 2, 2023
@nikku nikku added the backlog label Mar 3, 2023 — with bpmn-io-tasks
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

3 participants