StronglyTypedId icon indicating copy to clipboard operation
StronglyTypedId copied to clipboard

Add option for controlling constructor generation

Open NxSoftware opened this issue 3 years ago • 2 comments

Implements #75

I had thought about adding additional options to the StronglyTypedIdImplementations enum. Since that enum is defined as [Flags] then it would make for a confusing API as it would be possible to specify multiple constructor visibility levels (e.g. StronglyTypedImplementations.PrivateConstructor | StronglyTypedImplementations.PublicConstructor, hence why this option is a separate enum.

NxSoftware avatar Aug 30 '22 21:08 NxSoftware

@andrewlock any chance you can have a look at this soon? I think it'll be a really useful addition

NxSoftware avatar Oct 13 '22 16:10 NxSoftware

Resolved the prior conflicts, and thanks to the work in #95 the diff is significantly smaller now.

NxSoftware avatar Mar 27 '23 18:03 NxSoftware

Closing due to the underlying implementation changing to use templates where the constructor can be controlled.

NxSoftware avatar May 28 '24 13:05 NxSoftware