Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

To make the API fluent, devs should be able to write matchers with builders #52

@craigfowler

Description

@craigfowler

A little-used but important and under-developed feature is that of matchers and queries.

Currently there is no builder pattern for queries. This should be revisited to see if a builder pattern can be created, perhaps:

Query.For.Text()

Where, Query is a static builder class which has one static property. That property For creates a new query builder object. Anything else from that would be an extension method, which indicates the exact query object being used, and invokes a generic method on the builder, such that the value may be tested with a delegate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions