Skip to content
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

Adding update functionality to Deployment Settings resource #298

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

IaroslavTitov
Copy link
Contributor

Summary

  • Adding update functionaity using the new replace endpoint for DeploymentSettings

Testing

  • Manual test using Dotnet SDK

"organization": true,
"project": true,
"stack": true,
"sourceContext": true,
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we need to replace on source. We should still be able to just update.

Replaces: replaces,
DetailedDiff: detailedDiffs,
HasDetailedDiff: true,
DeleteBeforeReplace: len(replaces) > 0,
Copy link
Member

Choose a reason for hiding this comment

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

FWIW you can just set this to true, it'll only be needed in the case of a replace and we'll want it to be true if it is.

@IaroslavTitov IaroslavTitov merged commit dac7365 into main Jun 6, 2024
13 checks passed
@IaroslavTitov IaroslavTitov deleted the iaro/updateds branch June 6, 2024 17:29
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