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

Template literals ES6 not supported by Mirth Connect 3.7.1 #4292

Open
rbeckman-nextgen opened this issue May 11, 2020 · 2 comments
Open

Template literals ES6 not supported by Mirth Connect 3.7.1 #4292

rbeckman-nextgen opened this issue May 11, 2020 · 2 comments
Labels

Comments

@rbeckman-nextgen
Copy link
Collaborator

@rbeckman-nextgen rbeckman-nextgen commented May 11, 2020

With Mirth Connect 3.7.1 you have the ability to use ES6 but not all ES6 features are supported.

I would like to have Template literals supported.

Imported Issue. Original Details:
Jira Issue Key: MIRTH-4417
Reporter: mdehoog
Created: 2019-05-28T03:24:30.000-0700

@rbeckman-nextgen
Copy link
Collaborator Author

@rbeckman-nextgen rbeckman-nextgen commented May 11, 2020

If you e.g. use let, it will be highlighted as an error but nevertheless work when you run the channel..
When you e.g. define a function in a code template by using default values, the IDE does not even let you save the code template as it considers a function like functionName(parameter=DEFAULTVALUE){} as plain wrong.

Imported Comment. Original Details:
Author: mdehoog
Created: 2019-05-30T07:01:04.000-0700

@rbeckman-nextgen
Copy link
Collaborator Author

@rbeckman-nextgen rbeckman-nextgen commented May 11, 2020

Mirth depends on Rhino as the javascript engine. Many ES6 features are still not supported in ES6 mode.

https://mozilla.github.io/rhino/compat/engines.html

Imported Comment. Original Details:
Author: agermano
Created: 2019-08-06T09:27:35.000-0700

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.