Skip to content

docs: introduce TypeKit by example, acknowledge Vogen, and add SuperStrong.Types to the comparison - #122

Merged
CaffeinatedCoder merged 8 commits into
release/2.3.0from
docs/readme-intro-and-comparison
Oct 29, 2026
Merged

CaffeinatedCoder merged 8 commits into
release/2.3.0from
docs/readme-intro-and-comparison

Conversation

@CaffeinatedCoder

@CaffeinatedCoder CaffeinatedCoder commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

Closes #119
Closes #120

Problem

The README opened with five groups of bullets, then repeated much of them in "Quick start". A .NET developer deciding whether to try TypeKit had to read all of it to learn its three core features: generated value objects, Option and Result. It also didn't credit Vogen, which inspired much of the value-object generation.

docs/comparison.md had no SuperStrong.Types, a newer value-object generator for .NET 10. Its TypeKit columns named 2.1.0, and two outside reviews found claims broader than their evidence.

Change

README.md

  • "What you get" shows the three features by example: a one-line OrderId and what you can do with it, a validated Email and the three ways to create one, an Option lookup and a Result chain. Smart enums, a one-time EF Core and OpenAPI setup, and an "And also" list follow, each linking its guide.
  • It says that new OrderId() and default(OrderId) of a struct value object fail the build (CMTK0001), and that an array created with a length warns (CMTK0005).
  • "Quick start" is gone. Its install commands moved to "Packages", and "Documentation" now comes before "Packages".
  • A new "Acknowledgements" section thanks Vogen by Steve Dunn and points to "Built with Metalama". The wording is TypeKit's own, not copied from the README that inspired the shape.
  • Status names 2.3.0.

docs/comparison.md

  • SuperStrong.Types 1.0.0 gets a column in the value-object table, read from its source at tag v1.0.0 (KB-044), and a row for Hot Chocolate and Newtonsoft.Json in "Choose something else when".
  • The broad claims are narrowed.
    • "Years of production use" became "a long release history" and names the libraries first published from 2015 to 2021 (KB-045, from NuGet).
    • "A gap none of them fills" now covers only the value-object libraries, at the versions named.
    • SuperStrong.Types' converter cell says only what its code shows.
  • A new "Other integrations" row shows where other libraries ship more than TypeKit.
  • The C# union types row names C# 15 unions and closed hierarchies, with the .NET 11 SDK's release-candidate status as of 29 October 2026 (KB-046).
  • TypeKit's columns name 2.3.0. Each TypeKit cell was checked on release/2.3.0.

Samples and catalogue

  • New sample regions in test/CodoMetis.TypeKit.Samples/Root/IntroSamples.cs for the new blocks. The quick-start regions are renamed README/factories and README/setup.
  • Two new claims (C26) in test/oracles/claims.json, held by ForbiddenDefaultInitializationAnalyzerTests and DefaultFilledCollectionAnalyzerTests.
  • Three new facts in design/knowledge/: KB-044, KB-045 and KB-046.

Keeping the comparison current before each release, starting with Thinktecture 10.6.0 and LanguageExt beta-78, is #121.

Tests

  • Samples (148), conventions (1567) and oracle (27) tests pass, and docs-query check reports no problems.
  • Seeded and caught:
    • a line of the new Option block changed in the README alone fails ReadmeSampleTests;
    • the new CMTK0005 sentence changed in the README alone fails OracleCatalogueTests, naming claim C26.

🤖 Generated with Claude Code

CaffeinatedCoder and others added 7 commits October 29, 2026 09:48
…owledge Vogen

The README's "What you get" opened with five groups of bullets. It now shows the three core
features, each as a few lines of compiled code followed by what it gives you: a one-line value
object and its generated members, a validated one, an Option lookup and a Result chain. Smart
enums follow, then a short "And also" list that links each guide.

An Acknowledgements section credits Vogen for much of the value-object generation, and points
to "Built with Metalama".

Refs #119

Co-Authored-By: Claude Opus 5.5 <[email protected]>
SuperStrong.Types 1.0.0 gets a column in "Value objects in detail", read from its source at
tag v1.0.0 and recorded as KB-043. "Choose something else when" gains a row for Hot Chocolate
and Newtonsoft.Json, names it beside Vogen and Thinktecture for a plain Roslyn generator, and
leaves it out of "years of production use": its 1.0.0 shipped in July 2026. The README lists
it among the compared libraries.

Refs #120

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…grate more

From two outside reviews of docs/comparison.md:
- The SuperStrong.Types converter cell says what was read: nothing of its own describes the
  converter, read from its code and not run.
- "Years of production use" becomes "a long release history", naming the libraries first
  published between 2015 and 2021 (KB-044, from NuGet's registration data).
- "A gap none of them fills" is scoped to the value-object libraries at the versions named.
- A new "Other integrations" row shows the serializers, ORMs and GraphQL packages others
  ship and TypeKit doesn't.
- The C# union types row names C# 15 and closed hierarchies, pinned to the .NET 11 SDK's
  release-candidate status on 29 October 2026 (KB-045).

Refs #120

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The comparison's three TypeKit columns and the README's Status named 2.1.0. Each TypeKit cell
was checked again on release/2.3.0: nothing in 2.2.0 or 2.3.0 changes one. Only the headers,
the Status line and the page's list of dates change.

Refs #120

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…uides before the packages

"Quick start" repeated what the new introduction shows. What it added moved to where it fits:
the three factories and the JSON and parsing they run into "Value objects", the one-time EF
Core and OpenAPI setup into a new "EF Core and ASP.NET Core" subsection, and the install
commands into "Packages", beside the paragraph on which project takes which package. Its full
Email declaration and a second Match were repeats and are gone; the sample keeps the code its
tests use, under the regions README/factories and README/setup.

"Documentation" now comes before "Packages".

Refs #119

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s own voice

The value-object introduction followed SuperStrong.Types' "You write this / You get" frame and
its list of member categories, and the thanks to Vogen nearly repeated its sentence. The list
now says what an OrderId lets you do, and the acknowledgements are written afresh.

Refs #119

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e build

A struct always has a public parameterless constructor. The README's "Value objects" now says
that the analyzers make `new OrderId()` and `default(OrderId)` build errors (CMTK0001), and
warn on an array created with a length (CMTK0005). Both sentences are claims in the oracle
catalogue (C26), held by the analyzer tests that already check them on struct value objects.

Refs #119

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@CaffeinatedCoder CaffeinatedCoder added this to the 2.3.0 milestone Oct 29, 2026
@CaffeinatedCoder CaffeinatedCoder added documentation Improvements or additions to documentation area/option-result Option, Result and their extensions area/value-objects Value-object contracts and what the aspects generate for them labels Oct 29, 2026
release/2.3.0 took KB-043 for the GitHub Actions facts (#123), so this branch's three facts
move up by one: SuperStrong.Types is KB-044, the compared libraries' first releases KB-045,
and C# 15's union types KB-046. The knowledge index keeps both sides' rows, and the
comparison's links follow the new numbers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/option-result Option, Result and their extensions area/value-objects Value-object contracts and what the aspects generate for them documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant