-
Notifications
You must be signed in to change notification settings - Fork 228
fix(csharp): Fallback init to set #6613
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
Conversation
Discussed offline w/ @Swimburger - I think we should just always use We could see an argument for including the switch in the |
…Generator subclient props
* fix(csharp): Fallback init to set
* fix(cli): misc improvements to the readme migrator * misc fixes * fix * feat(java): Generate snippet.json (#6601) * feat(java): Generate snippet.json * generate fixtures * Revert print options to false * Add changelog * chore: update changelog * chore: update changelog --------- Co-authored-by: fern-support <[email protected]> * fix(python): Replace src.fern_python imports with fern_python imports (#6608) * fix(java): Fix pagination in raw clients (#6609) * fix(java): Fix pagination in raw clients * Add changelog entry * chore: update changelog * Run fixtures * Make changelog patch --------- Co-authored-by: fern-support <[email protected]> * fix(cli): Correctly build undiscriminated enum & string unions (#6610) * fix(cli): Correctly build undiscriminated enum & string unions * Feature flag behind 'respect-forward-compatible-enums' flag * chore: update changelog * fix * update tests * fix(csharp): Fallback init to set (#6613) * fix(csharp): Fallback init to set * fix(cli): Improve parameter parsing for v3 AsyncAPI specs (#6616) * fix(cli): Improve parameter parsing for v3 AsyncAPI specs * chore: update changelog * fix * chore: update changelog --------- Co-authored-by: Alberto Gateño <[email protected]> Co-authored-by: fern-support <[email protected]> Co-authored-by: Hugh Han <[email protected]> Co-authored-by: eden wang <[email protected]> Co-authored-by: Niels Swimberghe <[email protected]>
Description
Fallback from
init
toset
on .NET Framework & .NET Standard 2.0 for public and protected properties.This ensures the properties can be set on older TFMs without compilation errors.
Testing