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

fix!: remove deprecated durationMs prop #577

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

agilgur5
Copy link

@agilgur5 agilgur5 commented Aug 24, 2024

Follow-up to #535 (comment), fixes the issue I discovered in argoproj/argo-cd#19655 (comment)

Motivation

I previously left in durationMs for backward-compatibility so that you could use either, but I forgot to mark the types as optional, so both ended up being required by the typings, oops 🙃

Modifications

Instead of making them both confusingly optional (no way of doing "one of"), just remove the deprecated durationMs in another breaking change

@agilgur5 agilgur5 requested a review from crenshaw-dev August 24, 2024 13:55
- I previously left in `durationMs` for backward-compatibility so that you could use either, but I forgot to mark the types as optional, so both ended up being required by the typings
  - instead of making them both confusingly optional (no way of doing "one of"), just remove the deprecated `durationMs` in another breaking change

Signed-off-by: Anton Gilgur <[email protected]>
@agilgur5 agilgur5 force-pushed the fix-durationS-optional branch from c884140 to 0a0ec11 Compare August 24, 2024 13:55
@agilgur5 agilgur5 merged commit d9a4285 into argoproj:master Sep 12, 2024
5 checks passed
@agilgur5 agilgur5 deleted the fix-durationS-optional branch September 12, 2024 17:38
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.

3 participants