Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a decorator to C# emitter to generate a model as a struct instead of a class #3619

Open
ShivangiReja opened this issue Jun 19, 2024 · 0 comments

Comments

@ShivangiReja
Copy link
Contributor

ShivangiReja commented Jun 19, 2024

Add a @@modelAsStruct decorator to the C# emitter to enable the generation of models as structs instead of classes.

Reference issue: #3453

github-merge-queue bot pushed a commit that referenced this issue Jun 24, 2024
Fixes: #3453

This PR adds support to generate a model as struct based on
`ModelAsStruct` decorator.

We will add `@@modelAsStruct` decorator to the C# emitter.
[Here’s](#3619) the tracking
issue to add the decorator in the emitter.

---------

Co-authored-by: ShivangiReja <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant