Skip to content

Add HTTP Step Builder sample - #24

Merged
Skymly merged 2 commits into
mainfrom
feature/samples/http-step-builder
Aug 3, 2026
Merged

Add HTTP Step Builder sample#24
Skymly merged 2 commits into
mainfrom
feature/samples/http-step-builder

Conversation

@Skymly

@Skymly Skymly commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add DesignPatterns.Samples.StepBuilder demonstrating [GenerateBuilder] HTTP request construction: required Url+Method type-state, optional Header/Body, mutex BearerToken vs BasicAuth.
  • Wire the sample into the solution, README catalog, and Nuke CI project list.

Closes #23

Test plan

  • dotnet run --project DesignPatterns.Samples.StepBuilder -c Release (local sibling DesignPatterns)
  • CI Ci target builds and runs the new sample
  • Confirm mutex sketch throws as expected; happy path prints assembled request

Skymly and others added 2 commits August 3, 2026 20:12
CI paired-branch checkout failed for Samples-only PRs after the library API landed on main.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Skymly

Skymly commented Aug 3, 2026

Copy link
Copy Markdown
Owner Author

CI failed checking out \Skymly/DesignPatterns\ at \ eature/samples/http-step-builder\ (no such branch — generator already on library \main). Pushed a workflow fallback: use the paired ref when it exists, otherwise \main.

@Skymly
Skymly merged commit 630bcb3 into main Aug 3, 2026
1 check passed
@Skymly
Skymly deleted the feature/samples/http-step-builder branch August 3, 2026 12:24
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.

Samples: HTTP Step Builder demo

1 participant