Skip to content
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

Add option for controlling constructor generation #79

Closed
wants to merge 1 commit into from

Conversation

NxSoftware
Copy link
Contributor

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 NxSoftware mentioned this pull request Oct 3, 2022
@NxSoftware
Copy link
Contributor Author

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

@NxSoftware
Copy link
Contributor Author

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

@NxSoftware
Copy link
Contributor Author

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

@NxSoftware NxSoftware closed this May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant