Skip to content

Prevent object contructor setting internal flags#802

Merged
mattbaileyuk merged 1 commit into
masterfrom
flags
May 19, 2026
Merged

Prevent object contructor setting internal flags#802
mattbaileyuk merged 1 commit into
masterfrom
flags

Conversation

@andrew-coleman
Copy link
Copy Markdown
Member

The evaluator internally represents functions and lambdas using objects tagged with the properties _jsonata_function or _jsonata_lambda. This commit prevents expressions from setting these flags in the object constructor, which could potentially interfere with the processing of the expression.

The evaluator internally represents functions and lambdas using
objects tagged with the properties `_jsonata_function` or
`_jsonata_lambda`.  This commit prevents expressions from
setting these flags in the object constructor, which could
potentially interfere with the processing of the expression.

Signed-off-by: Andrew Coleman <andrew_coleman@uk.ibm.com>
@mattbaileyuk mattbaileyuk merged commit f174348 into master May 19, 2026
8 checks passed
@mattbaileyuk mattbaileyuk deleted the flags branch May 19, 2026 10:10
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.

2 participants