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

Custom queries manager improvements #2234

Merged
merged 4 commits into from
Jun 14, 2023
Merged

Custom queries manager improvements #2234

merged 4 commits into from
Jun 14, 2023

Conversation

kblok
Copy link
Member

@kblok kblok commented Jun 13, 2023

Follow up #2230

@kblok
Copy link
Member Author

kblok commented Jun 13, 2023

Thoughts @jnyrup?

Comment on lines 23 to 29
_internalQueryHandlers = new()
{
["aria"] = _ariaHandler,
["pierce"] = _pierceHandler,
["text"] = _textQueryHandler,
["xpath"] = _xpathHandler,
["aria"] = AriaQueryHandlerFactory.Create(),
["pierce"] = CreatePierceHandler(),
["text"] = CreateTextQueryHandler(),
["xpath"] = CreateXpathHandler(),
};
Copy link
Contributor

Choose a reason for hiding this comment

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

If you like, you can move this to the declaration of _internalQueryHandlers.

Copy link
Member Author

Choose a reason for hiding this comment

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

yes!

@kblok kblok merged commit 8b92b87 into master Jun 14, 2023
@kblok kblok deleted the xpath-follow-up branch June 14, 2023 21:46
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