Commit dd589f8
docs: clarify exported public-API contract for cosmo-only symbols
ysmolski flagged three exported symbols as suspicious because their
only callers in this repository are tests. The author's intent was
to expose them for external consumers (wundergraph/cosmo router).
Add minimal godoc comments to make the contract explicit:
- MergeRepresentationVariableNodes also has one in-repo production
caller (visitor.go:1812), confirming public-API status.
- RecordL2KeyEvent and RecordFetchTiming have zero in-repo production
callers; doc notes they are kept exported for cosmo and should be
internalized in the next breaking window if cosmo stops using them.
No signature changes, no internalization.
Addresses ysmolski review on PR #1259 (representation_variable.go:21,
cache_analytics.go:278).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 2427062 commit dd589f8
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| 277 | + | |
| 278 | + | |
277 | 279 | | |
278 | 280 | | |
279 | 281 | | |
| |||
352 | 354 | | |
353 | 355 | | |
354 | 356 | | |
| 357 | + | |
| 358 | + | |
355 | 359 | | |
356 | 360 | | |
357 | 361 | | |
| |||
0 commit comments