Rule: Public API gained an internal dependency¶
Canonical rule slug: public-api-gains-internal-dependency. ← back to all rules
A public declaration starts depending on an internal one, so the supported surface is no longer self-contained.
Canonical demonstration¶
- case160_public_api_internal_dep_added — Public API Gains an Internal Dependency (🟡 COMPATIBLE_WITH_RISK)
Variants¶
The same rule demonstrated under a different condition.
- case190_public_inline_function_references_internal_constant — Public Inline Function References Internal Constant (specialization)
Used by scenarios¶
- case191_header_only_graph_field_type — Public Struct Gains a Field of a Private Type (Header-Only Graph)
- case194_header_graph_rename_reconciled — Internal Dependency Target Renamed, Safely Reconciled
- case195_header_graph_ambiguous_rename_not_reconciled — Ambiguous Simultaneous Rename, Correctly Not Reconciled
- case196_header_graph_move_reconciled — Declaration Reconciled as Moved Across a Compound Edit
- case197_header_graph_identity_reconciled — Declaration Reconciled as Identity-Reconciled (Header Unchanged)