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

Family creation from families #267 #305

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

fabiitch
Copy link
Contributor

@fabiitch fabiitch commented Jan 2, 2022

  1. Create a Familty from another
    Family family2 = Family.one(ComponentF.class).concat(family1).get();

  2. Allow to call one/all/exclude more than one time in FamilyBuilder
    Before
    Family family2 = Family.one(ComponentA.class).one(ComponentB.class).get();
    allow only componentB, now ComponentA is not delete.

Thanks for reading.

public final Builder concat (Family... families) {
for(Family family : families){
one.or(family.one);
all.or(family.all);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this formatting be altered to be consistent?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done :D

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.

2 participants