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
                    
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="Palm.SurrealDB.Net.SourceGenerators" Version="0.2.1">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Palm.SurrealDB.Net.SourceGenerators" Version="0.2.1" />
                    
Directory.Packages.props
<PackageReference Include="Palm.SurrealDB.Net.SourceGenerators">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
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 Palm.SurrealDB.Net.SourceGenerators --version 0.2.1
                    
#r "nuget: Palm.SurrealDB.Net.SourceGenerators, 0.2.1"
                    
#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 Palm.SurrealDB.Net.SourceGenerators@0.2.1
                    
#: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=Palm.SurrealDB.Net.SourceGenerators&version=0.2.1
                    
Install as a Cake Addin
#tool nuget:?package=Palm.SurrealDB.Net.SourceGenerators&version=0.2.1
                    
Install as a Cake Tool

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

There are no supported framework assets in this package.

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.

Version Downloads Last Updated
0.2.1 109 9/5/2026
0.2.0 102 9/3/2026