Add StrongTypes intervals blog post + surface Interval types on the strong-types page - #208
Draft
KaliCZ wants to merge 1 commit into
Draft
Add StrongTypes intervals blog post + surface Interval types on the strong-types page#208KaliCZ wants to merge 1 commit into
KaliCZ wants to merge 1 commit into
Conversation
Follow-up to the zero-code validations post, covering the interval types shipped in Kalicz.StrongTypes v1.2.0. - New bilingual post "Type-Safe Intervals in Your .NET API" that uses a subscription-membership story to show construction-time validity, JSON on the API boundary, the four interval variants, and EF Core column mapping for querying (e.g. memberships running longer than 30 days). - Rename the strong-types "Validated wrappers" group to "Validated types" (EN + CS) and add the Interval<T> family to it. - Register the post's slug in BlogPostCatalog so reactions/comments resolve; extend the catalog test to cover it. - Bump the strong-types page updatedDate so the sitemap lastmod reflects it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
KaliCZ
force-pushed
the
claude/strongtypes-interval-docs-eea8d1
branch
from
July 15, 2026 10:43
1a8f11f to
dc2e57c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Documents the interval types shipped in Kalicz.StrongTypes v1.2.0, in two places:
New bilingual blog post — Type-Safe Intervals in Your .NET API (
type-safe-intervals-in-your-dotnet-api). It is a follow-up to the zero-code validations post (linked at the top, alongside the StrongTypes page), and picks up theInterval<T>teaser from the end of that article. It uses a subscription-membership story to walk through:FiniteInterval<DateOnly>validating the ordering once, at construction;Contains/Overlapsfor the functionality you would otherwise hand-roll and test;Interval,FiniteInterval,IntervalFrom,IntervalUntil);strong-types page — the Validated wrappers feature group is renamed to Validated types, and the
Interval<T>family is added to it (EN + CS).Notable details
BlogPostCatalogwith a fresh, permanent comment-stream Guid so reactions/comments resolve; the all-posts anti-drift E2E would otherwise fail. ExtendedBlogPostCatalogTeststo cover it.updatedDateso its sitemaplastmodreflects the change.Testing
astro build— passes; both/blog/...and/cs/blog/...routes plus RSS and sitemap generate cleanly.dotnet testonKalandra.Blog.Tests— 33 passing.🤖 Generated with Claude Code