You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.
Is your feature request related to a problem? Please describe. #18 is a great start. Certainly removes a lot of the pain creating all those files and types yourself. The problem is if I just want createComment mutation I'd have to go through that full flow.
Describe the solution you'd like
Similar to how Rails does it with their generate command. It would be great to have a yoga generate command that does the following:
yoga generate type Comment field:type field2:type:required
yoga generate mutation createComment
yoga generate query Users
Additional context
Some of the Rails migration commands might be useful.
Very early idea... Thoughts welcome on how we could do this!
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
#18 is a great start. Certainly removes a lot of the pain creating all those files and types yourself. The problem is if I just want
createComment
mutation I'd have to go through that full flow.Describe the solution you'd like
Similar to how Rails does it with their
generate
command. It would be great to have ayoga generate
command that does the following:yoga generate type Comment field:type field2:type:required
yoga generate mutation createComment
yoga generate query Users
Additional context
Some of the Rails migration commands might be useful.
Very early idea... Thoughts welcome on how we could do this!
The text was updated successfully, but these errors were encountered: