corvus-dotnet / Corvus.JsonSchema

Support for Json Schema validation and entity generation
Apache License 2.0
99 stars 9 forks source link

Added cancellability to generation. #403

Closed mwadams closed 1 month ago

mwadams commented 1 month ago

You can flow a CancellationTokenthrough the type build process, and send it on to the code generation through the CodeGenerator (which is constructed with a CancellationToken, and exposes an IsCancellationRequested property.