Commit 54b94fa
authored
Add comment for future EnvTestConfig API privatization (#1752)
### What
Add a comment to `EnvTestConfig` noting that the next time a field is
added, which requires a breaking change, the fields should be made
private and settable via builder-style functions.
### Why
`EnvTestConfig` has public fields, which makes adding new fields a
breaking change due to struct literal construction and exhaustive
pattern matching. The refactor is deferred to the next unavoidable
breaking change to avoid introducing one unnecessarily, and the comment
ensures the opportunity is not missed.
Close #14191 parent dcbea44 commit 54b94fa
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
273 | 276 | | |
274 | 277 | | |
275 | 278 | | |
| |||
0 commit comments