typeshare icon indicating copy to clipboard operation
typeshare copied to clipboard

Add C# Support

Open dandro opened this issue 1 year ago • 4 comments

Overview

Add support for C# version 11 with NewtonsoftJson as/serialization/deserialization library.

Important Notes

  • C# does not have a Unit type, and hence, it results in an error when the target language is C#
  • C# 11 does not support aliases, and hence, it results in an error when the target language is C#
  • C# has strong naming conventions that are followed in the implementation by design. This breaks Serde renaming in some cases. Therefore, I added a configuration flag so the user can turn C# naming conventions off in favour of the Serde renaming feature.

Testing

I've added snapshot tests to most cases except when the Unit type or Aliases are needed, as this is not supported in C#.

dandro avatar Feb 19 '24 05:02 dandro

👋🏼 We're currently holding off on including support for new languages as we're in the process of a large refactor to modularize languages.

sanjanadesai27 avatar Jun 26 '24 19:06 sanjanadesai27

👋🏼 We're currently holding off on including support for new languages as we're in the process of a large refactor to modularize languages.

No worries. Yes, I've seen many changes and I am trying to keep up with them so the PR can be reviewed when you have a chance. What would be the rough timeline of the refactoring? Is there anything I could do to help get this in?

dandro avatar Jun 28 '24 01:06 dandro