Skip to content

Conversation

@kanongil
Copy link
Contributor

This is a bugfix to handle weird values for meetings, that could happen in user code when it is a computed or derived value. Any value that now throws would have unexpected behaviour.

This also includes a minor new feature, which is the handling of { meetings: 0 } without strict. In this case, it will immediately resolve the meeting with a null value. Previously, it would behave as { meetings: 1 }, which seems quite wrong.

@kanongil kanongil added the bug Bug or defect label Aug 20, 2025
@Marsup Marsup added this to the 6.0.1 milestone Aug 21, 2025
@Marsup Marsup self-assigned this Aug 21, 2025
@Marsup Marsup merged commit 0c56c54 into hapijs:master Aug 21, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bug or defect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants