-
Notifications
You must be signed in to change notification settings - Fork 134
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
RUMM-1234 DDNSURLSessionDelegate build errors fixed #461
Merged
buranmert
merged 2 commits into
master
from
buranmert/RUMM-1234-ddnsurlsessiondelegate-build-fix
Apr 12, 2021
Merged
RUMM-1234 DDNSURLSessionDelegate build errors fixed #461
buranmert
merged 2 commits into
master
from
buranmert/RUMM-1234-ddnsurlsessiondelegate-build-fix
Apr 12, 2021
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
buranmert
force-pushed
the
buranmert/RUMM-1234-ddnsurlsessiondelegate-build-fix
branch
from
April 1, 2021 16:26
b05dd10
to
94f23f1
Compare
ncreated
reviewed
Apr 2, 2021
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.
All looks good 👌. But I left few notes - what you think on them?
Sources/Datadog/URLSessionAutoInstrumentation/DDURLSessionDelegate.swift
Outdated
Show resolved
Hide resolved
Sources/Datadog/URLSessionAutoInstrumentation/DDURLSessionDelegate.swift
Outdated
Show resolved
Hide resolved
Sources/Datadog/URLSessionAutoInstrumentation/DDURLSessionDelegate.swift
Outdated
Show resolved
Hide resolved
ncreated
reviewed
Apr 6, 2021
Sources/Datadog/URLSessionAutoInstrumentation/DDURLSessionDelegate.swift
Outdated
Show resolved
Hide resolved
buranmert
force-pushed
the
buranmert/RUMM-1234-ddnsurlsessiondelegate-build-fix
branch
3 times, most recently
from
April 6, 2021 16:46
2e68caa
to
c7866b2
Compare
I changed the content of this PR, now we solve the problem without public API changes |
buranmert
changed the title
RUMM-1234 DelegateProviding protocol added
RUMM-1234 DDNSURLSessionDelegate build errors fixed
Apr 7, 2021
ncreated
requested changes
Apr 7, 2021
Tests/DatadogTests/Datadog/Mocks/URLSessionAutoInstrumentationMocks.swift
Outdated
Show resolved
Hide resolved
Tests/DatadogTests/Datadog/URLSessionAutoInstrumentation/DDURLSessionDelegateTests.swift
Outdated
Show resolved
Hide resolved
Tests/DatadogTests/Datadog/URLSessionAutoInstrumentation/URLSessionSwizzlerTests.swift
Outdated
Show resolved
Hide resolved
3 tasks
ncreated
requested changes
Apr 8, 2021
Tests/DatadogTests/DatadogObjc/DDNSURLSessionDelegateTests.swift
Outdated
Show resolved
Hide resolved
buranmert
force-pushed
the
buranmert/RUMM-1234-ddnsurlsessiondelegate-build-fix
branch
from
April 8, 2021 14:49
8967ec8
to
12ed66d
Compare
ncreated
requested changes
Apr 9, 2021
Sources/Datadog/URLSessionAutoInstrumentation/DDURLSessionDelegate.swift
Outdated
Show resolved
Hide resolved
Sources/Datadog/URLSessionAutoInstrumentation/DDURLSessionDelegate.swift
Outdated
Show resolved
Hide resolved
...tadogTests/Datadog/URLSessionAutoInstrumentation/DDURLSessionDelegateAsSuperclassTests.swift
Show resolved
Hide resolved
buranmert
force-pushed
the
buranmert/RUMM-1234-ddnsurlsessiondelegate-build-fix
branch
from
April 9, 2021 10:11
929a2bb
to
81f3cca
Compare
ncreated
approved these changes
Apr 12, 2021
buranmert
deleted the
buranmert/RUMM-1234-ddnsurlsessiondelegate-build-fix
branch
April 12, 2021 09:57
2 tasks
6 tasks
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.
What and why?
In order to ship standalone binaries of the SDK, we need to build our targets with
BUILD_LIBRARY_FOR_DISTRIBUTION
build flag.Yet,
@objc open DDNSURLSessionDelegate: DDURLSessionDelegate
line was giving compiler errors:either we needed to remove
@objc
or superclassDDURLSessionDelegate
How?
In this PR, we removed superclass of
DDNSURLSessionDelegate
and needed to make some other changes to make auto-network-tracing work.Review checklist