Open CyrusNajmabadi opened 2 years ago
Conclusion: We should document that tracking names are not considered public API and users cannot depend on them being consistent in generators they don't own.
@333fred
We should document that tracking names are not considered public API and users cannot depend on them being consistent in generators they don't own.
Where should we document this though? Is it sufficient to update our document comments or do we envision this happening elsewhere?
Where should we document this though? Is it sufficient to update our document comments or do we envision this happening elsewhere?
Our comments should be sufficient.
As part of a recent API addition for incremental generators, @chsienki raised the point:
We need to establish what our policy is here, and then document it appropriately for customers.
Personally, i believe all we need to say is that tracking names are purely for debugging/diagnosing/testing purposes, and they are not guaranteed to be stable in any way. Code should not take a dependency on it.