Skip to content

Version 1.1.35#1591

Merged
sinclairzx81 merged 4 commits into
mainfrom
elements
Apr 30, 2026
Merged

Version 1.1.35#1591
sinclairzx81 merged 4 commits into
mainfrom
elements

Conversation

@sinclairzx81
Copy link
Copy Markdown
Owner

This PR applies a small optimization to determine if tuple-like JSON Schema structures should infer with additional elements ... [x, y, ...unknown[]]

It was noted that inference was popping out for complex mappings in a remote project of mine, but could not replicate local to TypeBox. It is assumed the test to determine if additional elements should be applied was yielding a boolean instead of an exact true or false result. This PR makes a small change to ensure an exact result is given.

No other functional changes.

@sinclairzx81 sinclairzx81 merged commit d54f756 into main Apr 30, 2026
6 checks passed
@sinclairzx81 sinclairzx81 deleted the elements branch April 30, 2026 10:17
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.

1 participant