Files
windmill/backend
0659b8a125 fix(csharp-parser): mark parameters with a default value as optional (#10185)
* fix(csharp-parser): mark parameters with a default value as optional

C# main parameters that declare a default (e.g. `Main(string s = "hi")`)
were emitted with has_default = false even though their parsed default was
retained, so the inferred schema marked them as required. Derive has_default
from whether a default was parsed, consistent with the other language parsers.

* fix(csharp): give omitted arguments their declared default and mark every defaulted parameter optional

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(csharp): bind verbatim @-named arguments and test declared defaults end to end

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(csharp): find declared defaults by parameter name so a params array does not break the lookup

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: hugocasa <hugo@casademont.ch>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 11:18:54 +01:00
..
…
…
…
…
…
…
…
…
…
…

Windmill Backend

This folder holds all backend components, the src/ folder only contains files used to build the "root" binary.

Components

name description
windmill-api The API server, exposing functionality to other components and the frontend
windmill-audit Contains audit functionality, allowing different components to record important actions
windmill-common Common code shared by all crates
windmill-queue Contains job & flow queuing functionality, commonly written to by the API server and read from by workers
windmill-worker The worker. Used to process and execute flows & jobs.
parsers Contains code to parse signatures in different langauges.

Compile sqlx for offline ci

cargo sqlx prepare --workspace -- --bin windmill --features enterprise