CollinAlpert / Lombok.NET

.NET adaptation for Java's Lombok using Source Generators.
MIT License
309 stars 16 forks source link

Proxy generation #52

Open GrahamTheCoder opened 1 month ago

GrahamTheCoder commented 1 month ago

Interesting library!

Is your feature request related to a problem? Please describe. Ultimately, I want a decorator that can serialize to files the inputs/outputs to any method on a given class.

Describe the solution you'd like I can imagine several useful pieces of this puzzle:

Describe alternatives you've considered What I'll do in the meantime is autogenerate the interface with https://www.nuget.org/packages/InterfaceGenerator/. Use castle.core to proxy the runtime object, recording (serializing) inputs/outputs so that I can characterize exact current behaviour, and reuse the curremnt behaviour without needing the real object and its dependencies.