Skip to content

feat(TF-58):[CDN] validate for request structures#41

Open
SergeyKrasnovv wants to merge 1 commit intomainfrom
feat/TF-58-validate-for-request-structures
Open

feat(TF-58):[CDN] validate for request structures#41
SergeyKrasnovv wants to merge 1 commit intomainfrom
feat/TF-58-validate-for-request-structures

Conversation

@SergeyKrasnovv
Copy link
Copy Markdown
Collaborator

Added client-side validation with Validate() methods for resources, rules, origingroups, and sslcerts. Validation now runs before HTTP requests. Added tests for valid/invalid requests.

@github-actions
Copy link
Copy Markdown

✅ Snapshot build is ready!
Download artifacts

@SergeyKrasnovv SergeyKrasnovv force-pushed the feat/TF-58-validate-for-request-structures branch from 83a5b45 to 0e24a40 Compare March 24, 2026 09:31
@SergeyKrasnovv SergeyKrasnovv self-assigned this Mar 24, 2026
@github-actions
Copy link
Copy Markdown

✅ Snapshot build is ready!
Download artifacts

var group OriginGroup

if err := req.Validate(); err != nil {
return nil, err
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Оберни, пожалуйста, ошибку как в коде ниже. Чтобы был понятен контекст

@SergeyKrasnovv SergeyKrasnovv force-pushed the feat/TF-58-validate-for-request-structures branch from 8a65b28 to e2f60a3 Compare March 24, 2026 09:48
@github-actions
Copy link
Copy Markdown

✅ Snapshot build is ready!
Download artifacts

@github-actions
Copy link
Copy Markdown

✅ Snapshot build is ready!
Download artifacts

@SergeyKrasnovv SergeyKrasnovv force-pushed the feat/TF-58-validate-for-request-structures branch from e2f60a3 to 00d13c6 Compare March 24, 2026 09:53
@github-actions
Copy link
Copy Markdown

✅ Snapshot build is ready!
Download artifacts

@SergeyKrasnovv SergeyKrasnovv force-pushed the feat/TF-58-validate-for-request-structures branch from 00d13c6 to 6aadb59 Compare March 24, 2026 11:30
@github-actions
Copy link
Copy Markdown

✅ Snapshot build is ready!
Download artifacts

@SergeyKrasnovv SergeyKrasnovv force-pushed the feat/TF-58-validate-for-request-structures branch from 6aadb59 to fccaa78 Compare March 24, 2026 11:37
@github-actions
Copy link
Copy Markdown

✅ Snapshot build is ready!
Download artifacts

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