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

Feature/bridge from onebuilder to manybuilder #1

Merged
merged 23 commits into from
May 23, 2021

Conversation

DyegoMaas
Copy link
Owner

Improved navigation between different interfaces. Now it is possible to link builders in all directions, like:

MagicFactory.For<Person>()
    .Many(10).With(x => x.Age = 5)
    .PlusOne().With(x => x.Age = 10)
    .Plus(10).With(x => x.Age = 15)

Also, I've made a great refactoring, and now the shared context between builders is more explicit in the implementation. It contains the default transformations and constructors used by all builders in a linked context.

The unit tests were also reestructured, being a lot more explicit in many aspects of the implementations.

@DyegoMaas DyegoMaas merged commit 3450a1e into main May 23, 2021
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