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

Support specifying data source groups when using the Engine #214

Open
mslukebo opened this issue Oct 3, 2022 · 0 comments
Open

Support specifying data source groups when using the Engine #214

mslukebo opened this issue Oct 3, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@mslukebo
Copy link
Contributor

mslukebo commented Oct 3, 2022

Is your feature request an entirely new concept?
Yes,

Is your feature request related to an existing component?
It is related to feature request #213

Is your feature request related to a problem? Please describe.
With the proposed changes in #213, engine users have no way to specify which groups returned by an IDataSourceGrouper get used during processing.

Describe the solution you'd like
A new interface IDataSourceGroupResolver is created for picking out the IDataSourceGroups to use for processing. It would look like

public interface IDataSourceGroupResolver
{
        IReadOnlyCollection<IDataSourceGroup> Resolve(Guid processingSourceGuid, IReadOnlyCollection<IDataSourceGroup> allValidGroups);
}

Then, EngineCreateInfo would have a new instance method WithResolver(IDataSourceGroupResolver resolver) that sets the IDataSourceGroupResolver to use when the engine decides which groups to actually use for processing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant