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

Excluded processes are not passed to clone after cloning #5

Open
misha130 opened this issue Mar 15, 2020 · 0 comments
Open

Excluded processes are not passed to clone after cloning #5

misha130 opened this issue Mar 15, 2020 · 0 comments

Comments

@misha130
Copy link
Owner

misha130 commented Mar 15, 2020

After adding exclude processes to the a builder:

qb.ProcessConfig(...)

and then cloning

qb.CloneInstance()

The configuration doesn't get passed since its not told to do so in:

var newBuilder = Dependencies.ResolveService<IQueryBuilder<TEntity>>();

Solution:

Pass excluded types to new clone or use new to make a new instance instead of ResolveService

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