Craticula.Core
1.3.0
dotnet add package Craticula.Core --version 1.3.0
NuGet\Install-Package Craticula.Core -Version 1.3.0
<PackageReference Include="Craticula.Core" Version="1.3.0" />
<PackageVersion Include="Craticula.Core" Version="1.3.0" />
<PackageReference Include="Craticula.Core" />
paket add Craticula.Core --version 1.3.0
#r "nuget: Craticula.Core, 1.3.0"
#:package Craticula.Core@1.3.0
#addin nuget:?package=Craticula.Core&version=1.3.0
#tool nuget:?package=Craticula.Core&version=1.3.0
Craticula.Core
The shared core of Craticula, a compile-only library that turns AG Grid Server-Side Row Model requests into native,
injection-safe queries. This package holds the canonical query IR, the GridSchema (the allowlist and typing
boundary), resource limits and the semantics every compiler shares. It has no dependencies and never opens a
connection. You usually install a compiler or an adapter package instead, and get this one with it.
Install
dotnet add package Craticula.Core
Example
Validate a filter tree against your schema before any compiler sees it:
using Craticula.Core.Ir;
using Craticula.Core.Schema;
public static class Example
{
public static FilterNode? Validate(string schemaJson, FilterNode? clientFilter, PageSpec page)
{
GridSchema schema = GridSchema.Parse(schemaJson);
// Allowlist, resource limits, type coercion, then your static filter, in that order.
return GridFilterPipeline.Process(
clientFilter, customFilters: null, page, schema, new ResourceLimits());
}
}
Compatibility
Implements Craticula spec version 0.3.0 (the language-neutral semantics and conformance fixtures in the
repository, spec/). Targets .NET 10.
License
Apache-2.0. Source and issues: https://github.com/pluries/craticula.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (9)
Showing the top 5 NuGet packages that depend on Craticula.Core:
| Package | Downloads |
|---|---|
|
Craticula.Sql
Craticula SQL compiler: turns the canonical IR into parameterized, injection-safe SQL for PostgreSQL, SQL Server, MySQL/MariaDB, SQLite and Oracle. |
|
|
Craticula.Mongo
Craticula MongoDB compiler: turns the canonical IR into an injection-safe MongoDB aggregation pipeline (Extended JSON). |
|
|
Craticula.Search
Craticula search compiler: turns the canonical IR into an OpenSearch / Elasticsearch search request body. |
|
|
Craticula.MongoDB.Driver
Craticula execution adapter for the official MongoDB .NET driver: compiles the IR to an aggregation pipeline and runs it. |
|
|
Craticula.AgGrid
Craticula frontend adapter for AG Grid: parses Server-Side Row Model requests into the canonical IR and maps results back to grid responses. |
GitHub repositories
This package is not used by any popular GitHub repositories.