Scry.Describe
0.5.0
dotnet tool install --global Scry.Describe --version 0.5.0
dotnet new tool-manifest
dotnet tool install --local Scry.Describe --version 0.5.0
#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 "$(TargetDir)Model.dll" --output "$(MSBuildProjectDirectory)\..\client\scry.description.json"" />
</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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.5.0 | 52 | 12/3/2026 |