Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

persistent settings: expose OSSSettingsConverter as DI-able #5387

Merged
merged 1 commit into from
Oct 28, 2021

Conversation

stephanwlee
Copy link
Contributor

Currently, OSSSettingsCOnverter is only acquirable by injecting a
symbol, SettingsConverter. If we want to compose the converter in a type
safe manner, we have to convert the converter to be a generic or compose
by injecting an instance of the converter. Here, we have decided to take
the latter approach which tends to keep the base implementation simple
to reason with without generics.

Currently, OSSSettingsCOnverter is only acquirable by injecting a
symbol, SettingsConverter. If we want to compose the converter in a type
safe manner, we have to convert the converter to be a generic or compose
by injecting an instance of the converter. Here, we have decided to take
the latter approach which tends to keep the base implementation simple
to reason with without generics.
@google-cla google-cla bot added the cla: yes label Oct 25, 2021
@stephanwlee stephanwlee requested review from bmd3k and removed request for japie1235813 October 26, 2021 17:49
@stephanwlee stephanwlee merged commit a569150 into tensorflow:master Oct 28, 2021
@stephanwlee stephanwlee deleted the configurable branch October 28, 2021 15:55
yatbear pushed a commit to yatbear/tensorboard that referenced this pull request Mar 27, 2023
…ow#5387)

Currently, OSSSettingsCOnverter is only acquirable by injecting a
symbol, SettingsConverter. If we want to compose the converter in a type
safe manner, we have to convert the converter to be a generic or compose
by injecting an instance of the converter. Here, we have decided to take
the latter approach which tends to keep the base implementation simple
to reason with without generics.
dna2github pushed a commit to dna2fork/tensorboard that referenced this pull request May 1, 2023
…ow#5387)

Currently, OSSSettingsCOnverter is only acquirable by injecting a
symbol, SettingsConverter. If we want to compose the converter in a type
safe manner, we have to convert the converter to be a generic or compose
by injecting an instance of the converter. Here, we have decided to take
the latter approach which tends to keep the base implementation simple
to reason with without generics.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants