-
-
Notifications
You must be signed in to change notification settings - Fork 323
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
pre-commit hook fail on template graphql with addmodule #523
Comments
@mitjade I wonder if this is still an issue? |
@Vlasenko It is still a problem. I am still a long way from having CRUD cli ready, so I will not be pushing any cli changes. Will check it is can resolve this. |
Still an issue, though anyone having this that doesn't want to delete or complete the query could just I also note the added issue at the end of #605 where server graphql needs to be completed for app to build. You cannot have empty mutations/subscriptions. These are pretty trivial problems and perhaps could just be documented. |
@H1net We have public wiki now, editable by anyone, we can document quirks there, should be easy now: |
Hi everyone. I am closing this issue, because the pull request #847 updated the CLI. And now after creating the new module You can commit and run the tests without any errors. |
With the latest in master, if you do
yarn cli addmodule testmod
,git add -A
, and thengit commit
the pre-commit hook fails because of the empty graphql files with an error like below:I notice that similarly empty files do not throw this error for previous modules I created, though the new files seem to have "Query" in the filename so I presume some changes have been made?
The text was updated successfully, but these errors were encountered: