NordSecurity / uniffi-bindgen-cs

C# bindings generator for uniffi-rs
https://github.com/NordSecurity/uniffi-bindgen-cs
Mozilla Public License 2.0
107 stars 21 forks source link

Emit partial types #27

Open AArnott opened 1 year ago

AArnott commented 1 year ago

For the data types, please emit them with the partial keyword so we can add members to them outside the generated code.

arg0d commented 1 year ago

Whats your use case? What do you consider data types? Records?

AArnott commented 1 year ago

Data types would be the unifii dictionary defined types. I believe you emit these as records. Non-data type examples: types that surround methods that provide the interop or infrastructure support. No need for partial there.