Skip to content

feat(client): add response validation support#61

Merged
romanindev merged 1 commit intofeature/release-0-8-x-integration-safetyfrom
release-0-8-x/pr1-add-basic-response-validation-support
Apr 27, 2026
Merged

feat(client): add response validation support#61
romanindev merged 1 commit intofeature/release-0-8-x-integration-safetyfrom
release-0-8-x/pr1-add-basic-response-validation-support

Conversation

@romanindev
Copy link
Copy Markdown
Contributor

@romanindev romanindev commented Apr 27, 2026

Adds basic response validation support for @dfsync/client.

Closes #52

Changes

  • add ResponseValidator public type
  • add client-level validateResponse
  • add request-level validateResponse override
  • introduce ValidationError
  • run validation after successful HTTP responses
  • add unit and integration tests

Notes

Validation is only applied to successful HTTP responses.
HTTP error responses still throw HttpError.

@romanindev romanindev linked an issue Apr 27, 2026 that may be closed by this pull request
@romanindev romanindev self-assigned this Apr 27, 2026
@romanindev romanindev merged commit 469853b into feature/release-0-8-x-integration-safety Apr 27, 2026
1 check passed
@romanindev romanindev deleted the release-0-8-x/pr1-add-basic-response-validation-support branch April 27, 2026 10: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.

[1] feat: add response validation support

1 participant