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

Chore: update project types #221

Merged
merged 5 commits into from
Dec 17, 2024
Merged

Chore: update project types #221

merged 5 commits into from
Dec 17, 2024

Conversation

camden11
Copy link
Contributor

Description and Context

This fixes a few inaccuracies with types related to projects + removes the OptionalError types which is no longer needed.

Type changes based on API responses herer: https://tools.hubteam.com/api-catalog/services/DFSBuildPipelineService/v1/spec/internal

Who to Notify

@brandenrodgers @joe-yeager @kemmerle

@camden11 camden11 changed the title Update project types Chore: update project types Dec 16, 2024
Copy link
Contributor

@brandenrodgers brandenrodgers left a comment

Choose a reason for hiding this comment

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

lgtm. This will require a major version bump correct?

@camden11
Copy link
Contributor Author

Good question. I wasn't really thinking of it as a breaking change since it only changes types and not functionality. But it does break types. I'll look into what other people are doing for things like this

@camden11
Copy link
Contributor Author

I think I would argue that it even though it's technically breaking, it's actually a bug fix because the functionality that it's breaking didn't really work before (if you tried to use those types as they were defined, you'd run into issues). Maybe a good middle ground is to continue to export OptionalError and doing a patch release

@camden11 camden11 merged commit e6f20c3 into main Dec 17, 2024
1 check passed
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