Skip to content

CSHARP-4442: Hide aws sdk in release package. #981

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

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

DmitryLukyanov
Copy link
Contributor

@DmitryLukyanov DmitryLukyanov commented Dec 3, 2022

Without applied fix, a consumer will see:
image
and therefore will be able to use aws sdk public classes.
The applied change hides this internal (for the driver) classes from consumers.
image
As a result, aws.sdk public classes will be unavailable for driver's consumers

@DmitryLukyanov
Copy link
Contributor Author

I would also consider the same changes for other 3rd parties we have even though it might be considered as minor BC

@@ -31,6 +31,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
<PackageReference Include="AWSSDK.SecurityToken" Version="3.7.100.14" PrivateAssets="All" />
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is needed because aws.sdk classes became invisible for all consumers including our tests

Copy link
Contributor

@BorisDog BorisDog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DmitryLukyanov DmitryLukyanov merged commit 77d144c into mongodb:master Dec 5, 2022
DmitryLukyanov added a commit that referenced this pull request Dec 5, 2022
@DmitryLukyanov
Copy link
Contributor Author

Apparently this change broke our tests in core TFs. We need investigating how it can be fixed as a separate effort, reverted for now

DmitryLukyanov added a commit that referenced this pull request Dec 6, 2022
BorisDog pushed a commit to BorisDog/mongo-csharp-driver that referenced this pull request Dec 22, 2022
BorisDog pushed a commit to BorisDog/mongo-csharp-driver that referenced this pull request Dec 22, 2022
BorisDog pushed a commit to BorisDog/mongo-csharp-driver that referenced this pull request Jan 30, 2023
BorisDog pushed a commit to BorisDog/mongo-csharp-driver that referenced this pull request Jan 30, 2023
dnickless pushed a commit to dnickless/mongo-csharp-driver that referenced this pull request Aug 24, 2023
dnickless pushed a commit to dnickless/mongo-csharp-driver that referenced this pull request Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants