fix(cli): preserve transitive audience-filtered type references#16078
fix(cli): preserve transitive audience-filtered type references#16078kafkas wants to merge 3 commits into
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
d740f54 to
1060ce5
Compare
Docs Generation Benchmark ResultsComparing PR branch against median of 5 nightly run(s) on
Docs generation runs |
SDK Generation Benchmark ResultsComparing PR branch against median of 5 nightly run(s) on Full benchmark table (click to expand)
main (generator): generator-only time via --skip-scripts (includes Docker image build, container startup, IR parsing, and code generation — this is the same Docker-based flow customers use via |
Description
Linear ticket: Closes FER-10708
Fixes an audience-filtering issue where nested object types could render as
anyin docs when an OpenAPI schema reached nested inline object types through$refchains.The audience-filtered IR graph was only including one level of referenced type descendants. This meant direct
$reftargets survived filtering, but their own nested inline child types could be dropped from the filtered IR.Changes Made
IrGraph.addReferencedTypesto walk the full transitive type-dependency graph instead of adding only direct descendants.$refchains and arrays.Testing