fix(kosong): correct type inference when enum/const contradicts expli…#137
fix(kosong): correct type inference when enum/const contradicts expli…#137logic10492 wants to merge 2 commits into
Conversation
logic10492
commented
May 28, 2026
🦋 Changeset detectedLatest commit: 06d9255 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
3891fba to
06d9255
Compare
|
I first encountered this issue while integrating with xcodebuildmcp. Although the upstream project has since addressed it on their end, I believe applying this |
commit: |
|
Thanks for the PR — tests and changeset included. Our take:
It also regresses valid input — calling { type: 'string', enum: ['low', 'medium', null] } // valid nullable enum
// before: unchanged; after: throws "Mixed JSON Schema enum or const types..."Closing for now — if you have a concrete case where a contradictory |