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

feat: add versioned requests to support changing schemas where possible #50

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

shreddedbacon
Copy link
Member

@shreddedbacon shreddedbacon commented Apr 8, 2024

Just adding versioned requests to allow for times where the schema may add new return fields that aren't available in older versions.

This does change the New constructor to require a version of the API to be provided

example: uselagoon/lagoon-cli#335

@shreddedbacon shreddedbacon marked this pull request as ready for review April 9, 2024 02:34
@shreddedbacon shreddedbacon requested review from bomoko and CGoodwin90 and removed request for bomoko April 9, 2024 02:34
@shreddedbacon shreddedbacon merged commit 0046b79 into main Apr 9, 2024
@shreddedbacon shreddedbacon deleted the versioned-requests branch April 9, 2024 06:05
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