You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Motivation
To make upcoming PRs less noisy, we need a way to propagate
configuration all the way deep to types like TypeAssigner/TypeMatcher,
which historically didn't have that need.
### Modifications
Introduced a new wrapper type called TranslatorContext, which wraps the
existing closure that converts arbitrary strings into safe Swift names
(which might in the future also need to be further customized).
The idea is that this new struct is what we'd attach more config to
shortly.
There'll be a few more smaller PRs like this, I'm breaking them up for
easier review.
### Result
Generalized the way to propagate config into low level translator
utilities.
### Test Plan
All tests still pass.
0 commit comments