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

Generate serialization methods (ctor + method) for partial types #103

Open
ReubenBond opened this issue Dec 19, 2020 · 0 comments
Open

Generate serialization methods (ctor + method) for partial types #103

ReubenBond opened this issue Dec 19, 2020 · 0 comments

Comments

@ReubenBond
Copy link
Owner

ReubenBond commented Dec 19, 2020

Generate serialization method and deserialization constructor for partial types, useful for types with readonly/initonly/private fields.

The generated ctor must accept dependencies (codecs) as well as the reader and other parameters via the constructor. Therefore, a fixed signature is not suitable.

If there are no existing constructors, also add a default constructor if it's a reference type.

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

No branches or pull requests

1 participant