Skip to content

feat(comments): forward is_validation to the server [Assety s více úrovněmi vláken] - #37

Merged
Tweekazoid merged 4 commits into
mainfrom
claude/comment-is-validation
Aug 24, 2026
Merged

feat(comments): forward is_validation to the server [Assety s více úrovněmi vláken]#37
Tweekazoid merged 4 commits into
mainfrom
claude/comment-is-validation

Conversation

@PetrDlouhy

Copy link
Copy Markdown
Contributor

Companion to BlenderKit/BlenderKit-server#3516 (validation-thread type) and BlenderKit/Blendkit#2276 (add-on checkbox).

Adds is_validation to CreateCommentData (accepted from the add-on) and CommentPostData (forwarded to the server), and copies it through in CreateComment. false is equivalent to omitting the field, so older add-ons and older servers are unaffected in either direction.

Note: not built locally (module requires go >= 1.26, local toolchain is 1.22); gofmt clean, three mechanical lines mirroring the neighboring fields — please rely on CI for the build.

🤖 Generated with Claude Code

The server stores an explicit thread type for comments
(BlenderKit-server#3516); validators mark new threads via the add-on
(BlenderKit#2276). Typed structs drop unknown fields, so both
CreateCommentData (from the add-on) and CommentPostData (to the
server) gain the boolean; false is omitted-equivalent for older
add-ons and ignored by older servers.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@PetrDlouhy PetrDlouhy self-assigned this Aug 21, 2026
@Tweekazoid
Tweekazoid merged commit 95af57b into main Aug 24, 2026
@Tweekazoid
Tweekazoid deleted the claude/comment-is-validation branch August 24, 2026 09:12
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