Giter Club home page Giter Club logo

Comments (7)

DavidArno avatar DavidArno commented on July 20, 2024

Whilst this is in theory achievable, the only way I can think to do this would necessitate a lot of reflection use and so would be slow. I'd question whether it's worth it therefore when pattern-based with expressions are currently pencilled in for C# 8.

from succinct.

Odonno avatar Odonno commented on July 20, 2024

@DavidArno Indeed, it would use reflection to create a new Immutable object and detect properties to overwrite. I can start with a PR until we have C# 8.

from succinct.

DavidArno avatar DavidArno commented on July 20, 2024

PR's are always welcome 😀

from succinct.

DavidArno avatar DavidArno commented on July 20, 2024

Bit slow on the uptake here, but I have just realised that because this feature requires System.Runtime it breaks the netstandard 1.0 version of SuccincT. I could update that to netstandard 1.5, but that would be a breaking change.

I am therefore pulling this feature from the v3.1 release and will reschedule it for the v4.0 release (which is allowed to make such breaking changes).

Apologies for the last minute change of plan here.

from succinct.

Odonno avatar Odonno commented on July 20, 2024

Good to know. I will have some time to make some adjustments on the feature so.

from succinct.

Odonno avatar Odonno commented on July 20, 2024

@DavidArno For information, I have made the wiki page for Copy/With functions https://github.com/DavidArno/SuccincT/wiki/Copy---With

from succinct.

DavidArno avatar DavidArno commented on July 20, 2024

Released with v4.

from succinct.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.