Skip to content

Move the selector checks to the evaluators.#214

Merged
ardalis merged 1 commit intomainfrom
fiseni/selector-exception
Jan 12, 2022
Merged

Move the selector checks to the evaluators.#214
ardalis merged 1 commit intomainfrom
fiseni/selector-exception

Conversation

@fiseni
Copy link
Collaborator

@fiseni fiseni commented Jan 12, 2022

Throw SelectorNotFound exception from the specification evaluator, and not from the repository. Users may have their own repository implementation, and ensuring the selector exists is crucial, so having the check in the evaluator is better.

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