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

Generate query/type tests #40

Open
brunobg opened this issue Jan 2, 2021 · 0 comments
Open

Generate query/type tests #40

brunobg opened this issue Jan 2, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@brunobg
Copy link
Member

brunobg commented Jan 2, 2021

We could generate feature tests for queries and types automatically. Perhaps something like:

foreach ($model) {
   if (exists query $model) {
     add method for queryItem;
   }
   if (exists query plural($model)) {
     add method for queryList;
   }
}
@brunobg brunobg added the enhancement New feature or request label Jan 2, 2021
@brunobg brunobg self-assigned this Jan 2, 2021
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