Codecommit implement GetChanges #2876
Labels
feature-request
A feature should be added or improved.
service-api
This issue is due to a problem in a service API, not the SDK implementation.
Describe the feature
I want to get a list of changes in a pullrequest. Right now there is a
GetDifferences
function but that lists all the differences between two different commits. i want to only list the changes that a given pullrequest has made without including the differences in main that were added by other teams.It's possible this already exists but i wasn't able to find it in the documentation.
https://github.com/aws/aws-sdk-go/tree/v1.44.31/service/codecommit
Use Case
We want to use the list of changes in a pullrequest to generate the approver list. we map changes within a specified folder to have specific approvers. If we are able to get the changes a pullrequest has we can limit our approver list just to the people we need. currently using GetDifferences it would include any difference between main and a Commit ID so we include changes outside of the Pullrequest therefore requesting too many approvers.
Proposed Solution
No response
Other Information
No response
Acknowledgements
SDK version used
aws-sdk-go-v2
Environment details (Version of Go (
go version
)? OS name and version, etc.)go version go1.15.3 windows/amd64
The text was updated successfully, but these errors were encountered: