Palm.SurrealDB.Net.SourceGenerators
0.2.1
dotnet add package Palm.SurrealDB.Net.SourceGenerators --version 0.2.1
NuGet\Install-Package Palm.SurrealDB.Net.SourceGenerators -Version 0.2.1
<PackageReference Include="Palm.SurrealDB.Net.SourceGenerators" Version="0.2.1"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="Palm.SurrealDB.Net.SourceGenerators" Version="0.2.1" />
<PackageReference Include="Palm.SurrealDB.Net.SourceGenerators"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Palm.SurrealDB.Net.SourceGenerators --version 0.2.1
#r "nuget: Palm.SurrealDB.Net.SourceGenerators, 0.2.1"
#:package Palm.SurrealDB.Net.SourceGenerators@0.2.1
#addin nuget:?package=Palm.SurrealDB.Net.SourceGenerators&version=0.2.1
#tool nuget:?package=Palm.SurrealDB.Net.SourceGenerators&version=0.2.1
Palm.SurrealDB.Net.SourceGenerators
Reflection-free, source-generated ISurrealTypeMapper implementations and entity metadata.
The reflection mapper in Palm.SurrealDB.Net.Serialization is the runtime source of truth for
property↔field naming; this generator emits a compile-time mirror of the same rules. Writing the
second implementation is what found five defects in the first.
Part of the Palm.SurrealDB ecosystem for SurrealDB 3.x.
Installation
dotnet add package Palm.SurrealDB.Net.SourceGenerators
Targets net10.0 (netstandard2.0 — the Roslyn host requirement). The package is proprietary and sets
PackageRequireLicenseAcceptance, so NuGet prompts before installing — see LICENSE.
Nothing is on NuGet.org until the first release runs; see
docs/RELEASING.md.
Provides
IIncrementalGenerators — there is no API to call
Notes
This is the AOT path: the reflection mapper is not trim-safe, and the generated one needs no
reflection at all. Targets netstandard2.0 (the Roslyn host requirement) and contributes
nothing at runtime.
Documentation
README— the ecosystem overview and package map- performance.md — the relevant article
LESSONS-LEARNED.md— every known limitation, with a reproduction
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.