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

[Workaround Proposal] Factory pattern #43

Open
gregsn opened this issue Jun 21, 2021 · 0 comments
Open

[Workaround Proposal] Factory pattern #43

gregsn opened this issue Jun 21, 2021 · 0 comments

Comments

@gregsn
Copy link
Member

gregsn commented Jun 21, 2021

As long as there is no built-in support within VL for #40 here is a workaround idea:

  • Make Create Internal. It doesn't come with any logic and only writes the fields.
  • Define several Operations that call this internal constructor in different ways.

By that, you should be able to construct instances in completely different ways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant