-
Notifications
You must be signed in to change notification settings - Fork 3
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
refactor: Add Confidence Library scaffolding #83
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fabriziodemaria
force-pushed
the
confidence-lib
branch
from
March 27, 2024 15:49
d2f805a
to
c602699
Compare
fabriziodemaria
changed the title
[WIP] Add Confidence Library
feat: [WIP] Add Confidence Library
Mar 27, 2024
fabriziodemaria
force-pushed
the
confidence-lib
branch
3 times, most recently
from
March 28, 2024 10:16
7a67af9
to
2f2abe1
Compare
fabriziodemaria
commented
Mar 28, 2024
fabriziodemaria
commented
Mar 28, 2024
fabriziodemaria
force-pushed
the
confidence-lib
branch
from
March 28, 2024 14:14
2f2abe1
to
839db71
Compare
fabriziodemaria
force-pushed
the
confidence-lib
branch
6 times, most recently
from
March 28, 2024 14:52
bef7f32
to
3f0eba0
Compare
fabriziodemaria
force-pushed
the
confidence-lib
branch
from
March 28, 2024 14:54
3f0eba0
to
e59b4cb
Compare
fabriziodemaria
changed the title
feat: [WIP] Add Confidence Library
refactor: Add Confidence Library scaffolding
Mar 28, 2024
fabriziodemaria
requested review from
mfranberg,
vahidlazio,
nicklasl and
nickybondarenko
as code owners
March 28, 2024 15:34
fabriziodemaria
commented
Mar 28, 2024
fabriziodemaria
commented
Mar 28, 2024
fabriziodemaria
commented
Mar 28, 2024
ConfidenceDemoApp/ConfidenceDemoApp.xcodeproj/xcshareddata/xcschemes/ConfidenceDemoApp.xcscheme
Show resolved
Hide resolved
fabriziodemaria
commented
Mar 28, 2024
nicklasl
reviewed
Apr 2, 2024
nicklasl
reviewed
Apr 2, 2024
Sources/ConfidenceProvider/ConfidenceClient/ConfidenceClientOptions.swift
Show resolved
Hide resolved
nicklasl
previously approved these changes
Apr 2, 2024
nicklasl
approved these changes
Apr 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introducing a new
Confidence
Library. The Confidence Library conforms to aConfidenceEventSender
protocol, allowing the hosting app to emit events to Confidence (implementation of the actual event sending to the backend will be added in following PRs).The change is almost backwards compatible: the user has to add the
Confidence
library as a dependency and import, but no change is required in the main code. However, it's totally ok to configure the Provider with the Confidence object, with available configurations:For any other testing-oriented dependency injection, users can still use the current
Builder
pattern of the Provider.Note that this PR also includes a very incomplete setup for Contextual and for adding the EvaluationContext to each event. This will be further implemented in following PRs.