Scry.Describe 0.5.0

dotnet tool install --global Scry.Describe --version 0.5.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Scry.Describe --version 0.5.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Scry.Describe&version=0.5.0
                    
nuke :add-package Scry.Describe --version 0.5.0
                    

Scry.Describe

A .NET tool that writes a Scry server's description from its model DLL, with no server running. The description is the document the query explorer's introspection endpoint serves, and the TypeScript client generates its model from it.

Install it in the server's repository as a local tool, at the version of the server's Scry packages:

dotnet new tool-manifest
dotnet tool install Scry.Describe

Then run it after the model compiles, for example from a target in the server's project:

<Target Name="WriteScryDescription" AfterTargets="Build">
  <Exec Command="dotnet scry-describe --model &quot;$(TargetDir)Model.dll&quot; --output &quot;$(MSBuildProjectDirectory)\..\client\scry.description.json&quot;" />
</Target>
Option
--model The model assembly that declares the [Queryable] types.
--output Where to write the description.
--max-page-size The server's ScryOptions.MaxPageSize, if it sets one.
--query-url-limit The server's ScryOptions.QueryUrlLimit, if it sets one.

It reads the DLL as metadata with the source generator's reader, never loading it, and stamps it the way the generator does, so it writes the description the server gives of the same model. The versions have to match, because the description carries the schema stamp the server compares every request with. It writes the file only when the description has changed. A fresh clone, or a CI job, runs dotnet tool restore before building.

Docs: Generating the model

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.

This package has no dependencies.

Version Downloads Last Updated
0.5.0 52 12/3/2026