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

Improve jsonata legacy mode detection regex #3345

Merged
merged 1 commit into from
Jan 12, 2022

Conversation

knolleary
Copy link
Member

Fixes #3290

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

The current regex used to spot if msg is used in a JSONata expression has been updated to ignore case where it appears as .msg. For example, if msg.payload had a property called msg - msg.payload.msg.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 67.438% when pulling 0cf9b5f on jsonata-compat-mode-fix into 6d2793c on master.

@knolleary knolleary merged commit 47c912c into master Jan 12, 2022
@knolleary knolleary deleted the jsonata-compat-mode-fix branch January 12, 2022 22:54
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 this pull request may close these issues.

JSONata compatibility mode enabled when not required
2 participants