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

Add syntax for setting query name in cell generator #343

Closed
cannikin opened this issue Mar 26, 2020 · 1 comment · Fixed by #6442
Closed

Add syntax for setting query name in cell generator #343

cannikin opened this issue Mar 26, 2020 · 1 comment · Fixed by #6442

Comments

@cannikin
Copy link
Member

When we create a cell via generator it names the GraphQL query after the cell. Can we provide some additional syntax that lets you name it whatever you want:

yarn rw g cell BlogPosts query:posts
yarn rw g cell BlogPosts --query=posts
@Josh-Walker-GM
Copy link
Collaborator

I think this feature has now been added with #6442.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants