Skip to content

Fundamentals

The building blocks beneath the stack

Shared primitives for domain values and infrastructure, with implementations for C#, TypeScript, Kotlin and Java, and Go. APIs and package coverage differ: choose the building blocks your language provides, without adopting the rest of Cratis.

For Kotlin and Java, start with the JVM repository’s README for language-specific concept and Jackson examples. Its compatibility reference records supported contracts and wire differences. These pages are not mounted in this documentation site; do not infer C# API equivalents.

You do not need to adopt the rest of Cratis to use Fundamentals. Start with TypeScript concepts, the Go domain-value guide, or the standalone C# concept example.

The platforms offer different building blocks. For example, the C# Option, Result, and Catch chapter needs only a console app and the core NuGet package, not a database or host. It does not imply equivalent monad APIs in TypeScript, JVM, or Go.

The cards below lead to C# APIs and the C#/TypeScript derived-type integration. For other implementations, use the platform guides above. In particular, check Go’s parity map before carrying a serialization or container contract across.

On .NET, Fundamentals supports convention-based artifact discovery for Chronicle and Arc. Other implementations have their own registration and discovery mechanisms; shared names do not establish runtime parity. See Why developers choose Cratis.