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

Client: Don’t validate API responses #942

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

nphilipp
Copy link
Collaborator

It’s better to break when an accessed field doesn’t exist or contains unexpected contents than to break when an otherwise unused field can’t be validated because the client and server use different versions of the API model.

Fixes: #941

It’s better to break when an accessed field doesn’t exist or contains
unexpected contents than to break when an otherwise unused field can’t
be validated because the client and server use different versions of the
API model.

Fixes: CentOS#941

Signed-off-by: Nils Philippsen <[email protected]>
@nphilipp nphilipp merged commit 3b44216 into CentOS:dev Sep 28, 2023
@nphilipp nphilipp deleted the dev--lenient-client branch September 28, 2023 14:55
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.

Make client more forgiving about changes in API details
1 participant