-
Notifications
You must be signed in to change notification settings - Fork 84
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
iOS: add KeyValueStore
protocol conformance to UserDefaults
#2452
Conversation
Signed-off-by: Mike Schore <mike.schore@gmail.com>
In favor of adding `KeyValueStore` conformance to `UserDefaults` directly. Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
"filters/*.swift", | ||
"grpc/*.swift", | ||
"mocks/*.swift", | ||
"stats/*.swift", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally, I'd prefer we explicitly enumerate source files in build targets and avoid blobs. I feel it obscures information about what's being pulled in, and it has the potential to lead to surprises when files are moved around.
Upstream Envoy tends to follow the pattern of explicit enumeration of source files as well, even when that list is large.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. I don't feel strongly but the previous approach was inconsistent with a mix of explicit files and globs.
As of 4d77493 everything is being explicitly set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jpsim, this is a nifty approach! Left one comment, but otherwise looks good.
As requested in code review. Signed-off-by: JP Simard <jp@jpsim.com>
/retest |
…yproxy#2452) Continued from envoyproxy#2441. Description: Parallels Android implementation based on SharedPreferences. Risk Level: Low Testing: Application Co-authored-by: Mike Schore <mike.schore@gmail.com> Signed-off-by: JP Simard <jp@jpsim.com>
Continued from #2441.
Description: Parallels Android implementation based on SharedPreferences.
Risk Level: Low
Testing: Application
Co-authored-by: Mike Schore mike.schore@gmail.com
Signed-off-by: JP Simard jp@jpsim.com