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

Detect incorrect matcher use and emit a warning #611

Open
TimothyJones opened this issue Feb 18, 2021 · 1 comment
Open

Detect incorrect matcher use and emit a warning #611

TimothyJones opened this issue Feb 18, 2021 · 1 comment
Labels
enhancement Indicates new feature requests help wanted Indicates that a maintainer wants help on an issue or pull request

Comments

@TimothyJones
Copy link
Contributor

Sometimes we see people use matchers directly rather than invoking the function:

body: {
  id : Matchers.decimal
}

We could detect whether functions were passed into the interaction and emit warnings (or errors).

@mefellows
Copy link
Member

mefellows commented Feb 22, 2021

Great idea! I've also created a new label "Developer Experience" to track these sorts of things.

@mefellows mefellows added help wanted Indicates that a maintainer wants help on an issue or pull request enhancement Indicates new feature requests labels Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Indicates new feature requests help wanted Indicates that a maintainer wants help on an issue or pull request
Projects
Status: New Issue
Development

No branches or pull requests

2 participants