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 builder pattern for C# / Java structs #79

Closed
jadamcrain opened this issue Jan 8, 2022 · 0 comments
Closed

Add builder pattern for C# / Java structs #79

jadamcrain opened this issue Jan 8, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request gen-dotnet .NET generator issue gen-java Java generator issue

Comments

@jadamcrain
Copy link
Member

Makes struct configuration more natural.

Currently we have:

Struct x = new Struct(...);
x.field1 = ...;
x.field2 = ...;

We could have new Struct(..).withField1(..).withField2(..)

@jadamcrain jadamcrain added the enhancement New feature or request label Jan 8, 2022
@emgre emgre added gen-dotnet .NET generator issue gen-java Java generator issue labels Jan 17, 2022
@emgre emgre added this to the oo-bindgen 0.2 milestone Jan 17, 2022
@emgre emgre self-assigned this Feb 8, 2022
emgre added a commit to stepfunc/rodbus that referenced this issue Feb 10, 2022
@emgre emgre closed this as completed Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gen-dotnet .NET generator issue gen-java Java generator issue
Projects
None yet
Development

No branches or pull requests

2 participants