Comments (2)
However if you feel like this should be behind a switch, I'd ask for this to be included in the most basic feature set as well (in terms of flags).
I agree it should be the default behavior. A flag, if ever needed, could be added in a future version.
from recordgenerator.
It is a nice optimization I've been thinking about at some point as well. I think it should be the new behavior (non-optional). I can't imagine a case where one would depend on old behavior (especially since it'd be the same as MemberwiseClone).
However if you feel like this should be behind a switch, I'd ask for this to be included in the most basic feature set as well (in terms of flags).
from recordgenerator.
Related Issues (20)
- Exclude individual properties from the "Wither" HOT 7
- A different kind of Wither: With(Optional...) HOT 21
- Generate classes from readonly fields HOT 2
- Custom EqualityComparer for fields HOT 2
- struct does not need null check
- .NET 4.0 Support for version 0.5 HOT 1
- OverlappedUnion Generator and Analyzer.
- Small improvement in Equals implementation
- Compiler warning CS8669 when using nullable reference types HOT 3
- Migrate .NET Core SDK to v3.1
- Update sample and docs for 0.5 release
- Fix PackageIcon property and WarningsAsErrors
- Proposal of Fluent Builder
- 💡 Struct builder supporting inheritance HOT 1
- [AzP] Use new UseDotNet@2 task
- Release v0.6
- Make Builders struct
- doesn't work with dotnet aspnet-codegenerator HOT 3
- Default values are not applied HOT 3
- Doesn't work properly with SignalR HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recordgenerator.