fix(core): resolve native TS7 runtime via exports and cover adapter#163
Merged
Conversation
- Remove dead "unsupported-native" TypeScriptVersionSupport branch (never returned by getTypeScriptVersionSupport) - Resolve TS7 native modules via package exports (typescript/unstable/sync, typescript/unstable/ast) instead of hardcoded dist paths - Add 27 unit tests for NativeTypeScriptAdapter covering evaluateNode, inferResponsesForExports, resolveTypeByName, resolveModule and project lifecycle - Lifts openapi-core branch coverage from 68.12% to 73.49% (threshold 73%) - Document schemaType guard behavior in getting-started.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to #162 (native TS7 support). The Coverage gate failed on main because the new
native-typescript-adapter.ts (~1300 LOC) shipped with 3.62% branch coverage, dragging the openapi-core scope below its 73% branch threshold.
Changes
Verification
Type of change
Checklist