-
Notifications
You must be signed in to change notification settings - Fork 0
fix: align IssueBuilder API with SKILL.md documentation #26
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,11 +32,11 @@ var issue = IssueBuilder.Default().Build(); | |
| var issue = IssueBuilder.Default() | ||
| .WithTitle("Custom Title") | ||
| .WithDescription("Custom Description") | ||
| .AsArchived() | ||
| .AsClosed() | ||
| .Build(); | ||
|
|
||
| // Predefined scenario | ||
| var archivedIssue = IssueBuilder.Archived().Build(); | ||
| var closedIssue = IssueBuilder.Closed().Build(); | ||
|
||
| ``` | ||
|
|
||
| --- | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The example calls
AsClosed(), buttests/Unit/Builders/IssueBuilder.cscurrently only exposesAsArchived()/AsActive()and has noAsClosed()method. Either update the builder to addAsClosed()(and ensure it maps to the actual domain state you intend) or revert this doc snippet to the existingAsArchived()API so the documentation matches the code.