[GODRIVER-1829] AWS sdk does not need in go.mod Created: 11/Jan/21  Updated: 27/Oct/23  Resolved: 22/Jan/21

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Çağatay Çalı Assignee: Divjot Arora (Inactive)
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

In golang, we do not need AWS sdk which is a huge amount of MB.

https://github.com/mongodb/mongo-go-driver/blob/master/go.mod#L6



 Comments   
Comment by Divjot Arora (Inactive) [ 22/Jan/21 ]

Hi cagatay.developer@gmail.com,

We include the AWS SDK as a dependency to support the MONGODB-AWS authentication mechanism. As far as I'm aware, Go does not provide the ability to have conditional dependencies gated behind build flags or other such mechanisms, so this dependency must exist for all users, even if that authentication mechanism isn't used. I don't think there's anything we can do here, so I'm closing out this issue, but feel free to leave a comment or create a new ticket if you have any suggestions.

– Divjot

Generated at Thu Feb 08 08:37:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.