Compze.TypeIdentifiers.Interning 0.5.0-alpha

Prefix Reserved
This is a prerelease version of Compze.TypeIdentifiers.Interning.
dotnet add package Compze.TypeIdentifiers.Interning --version 0.5.0-alpha
                    
NuGet\Install-Package Compze.TypeIdentifiers.Interning -Version 0.5.0-alpha
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Compze.TypeIdentifiers.Interning" Version="0.5.0-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Compze.TypeIdentifiers.Interning" Version="0.5.0-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Compze.TypeIdentifiers.Interning" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Compze.TypeIdentifiers.Interning --version 0.5.0-alpha
                    
#r "nuget: Compze.TypeIdentifiers.Interning, 0.5.0-alpha"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Compze.TypeIdentifiers.Interning@0.5.0-alpha
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Compze.TypeIdentifiers.Interning&version=0.5.0-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Compze.TypeIdentifiers.Interning&version=0.5.0-alpha&prerelease
                    
Install as a Cake Tool

Compze.TypeIdentifiers.Interning

Database-local integer interning for stable type identity. Maps a Compze TypeId to a small, per-database int and back, so storage tables can reference a type with a 4-byte int instead of a GUID or a long string — durably linking every spelling a type has been persisted as (reclassification and renames) behind a small, storage-agnostic provider interface. Depends only on Compze.TypeIdentifiers.

What is Compze?

Compze is a .NET framework for building expressive domains through Teventive programming and Typermedia APIs. Learn more

Installation

dotnet add package Compze.TypeIdentifiers.Interning

License

Apache-2.0

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (17)

Showing the top 5 NuGet packages that depend on Compze.TypeIdentifiers.Interning:

Package Downloads
Compze.Tessaging.Sqlite

Discontinued: this is its last version. Compze no longer supports SQLite: it runs one writer at a time, so it could never be a fully supported persistence layer. Use Compze.Tessaging.MicrosoftSql for SQL Server, Compze.Tessaging.PostgreSql for PostgreSQL or Compze.Tessaging.MySql for MySQL. For Compze internal use only. Do not take a direct dependency on this package. SQLite inbox/outbox backend for Compze messaging.

Compze.Tessaging.PostgreSql

For Compze internal use only. Do not take a direct dependency on this package. PostgreSQL inbox/outbox backend for Compze messaging.

Compze.Tessaging.MicrosoftSql

For Compze internal use only. Do not take a direct dependency on this package. SQL Server inbox/outbox backend for Compze messaging.

Compze.Tessaging.MySql

For Compze internal use only. Do not take a direct dependency on this package. MySQL inbox/outbox backend for Compze messaging.

Compze.TypeIdentifiers.Interning.PostgreSql

PostgreSQL backend for Compze type-id interning: a PostgreSQL ITypeIdInternerPersistence implementation for Compze.TypeIdentifiers.Interning.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.5.0-alpha 546 12/3/2026
0.4.0-alpha 156 12/3/2026
0.3.0-alpha 322 12/2/2026
0.2.0-alpha 1,133 11/14/2026
0.1.1-alpha 251 7/24/2026
0.1.0-alpha 283 6/4/2026

- **Breaking:** Replace `TryGetInternedId(TypeId, out int)` with `IReadOnlyCollection<int> InternedIdsOf(TypeId)`. It returns all known database ids read as that type, including merged types, and an empty collection when none match. `GetOrInternId` always writes with the surviving type’s own spelling. `LoadedInternedIdsOf(TypeId)` returns the possibly incomplete in-memory set without querying, even for an unknown type. `InternedIdsOf` reloads the type and spelling tables on every miss, including repeated lookups of a never-stored type. A retired id first stored by another deployment appears after a lookup of an unknown type or id reloads the interner, or after restart.
- **Requires exact versions of the Compze packages whose internals it uses:** Compze.TypeIdentifiers 0.6.1-alpha (was 0.6.0-alpha or newer). Upgrading to this version upgrades each package listed here to exactly that version, so their changelogs apply to this upgrade as well.