This is breaking change that we should either make before 1.0 leaves beta, or decide not to make.
apollo-compiler 1.0.0-beta.4 exports two types named Diagnostics (plural) and Diagnostic (singular). The former is a collection of any number of the latter, and has a corresponding .iter() method. This is all self-consistent, but because the two names are so close it’s easy to confuse one for the other.
Should one or both of them be renamed to avoid this confusion? To what?
This is breaking change that we should either make before 1.0 leaves beta, or decide not to make.
apollo-compiler 1.0.0-beta.4 exports two types named
Diagnostics
(plural) andDiagnostic
(singular). The former is a collection of any number of the latter, and has a corresponding.iter()
method. This is all self-consistent, but because the two names are so close it’s easy to confuse one for the other.Should one or both of them be renamed to avoid this confusion? To what?