-
Notifications
You must be signed in to change notification settings - Fork 3
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
Support dialects #53
Support dialects #53
Conversation
This enables me as a user to specify the FEEL dialect to use, one of `expression` or `unaryTests`.
* get rid of internals (provide test utility) * simplifies writing tests (and understanding them)
Includes test cleanup: c17e4a4. |
* | ||
* @return {LanguageSupport} | ||
*/ | ||
export function language(dialect) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My wild guess is that this part predates the support in the language. I wasn't involved in the development at the stage it was created though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff
This allows you to pass a dialect to the
feel-editor
instance, i.e.Child of bpmn-io/dmn-js#880