StructGet does not create struct when missing

Description

This seems like strange behaviour but it is how both ACF and Lucee work so raising as a compat issue.

BoxLang outputs:

✗ expected `{ }`, got `null`
✗ expected `true`, got `false`

Activity

Show:

Jon Clausen June 18, 2024 at 4:07 PM

Resolved in `bx-compat` module via Commit 004281af

BoxLang will continue to return nulls and will not mutate the passed in struct.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created June 10, 2024 at 8:52 PM
Updated June 18, 2024 at 4:07 PM
Resolved June 18, 2024 at 4:07 PM