Hey guys. One question. Who is here working with W...
# prisma-whats-new
a
Hey guys. One question. Who is here working with WebStorm? You are probably using graphql plugin. Question is, I added graphcool simplified schema renaming it to
schema.graphqls
and gave it to
graphql.config.json
and it actually supported via plugin finally. But problem is that simplified schema is too simple, so my queries are still half red, but Relay schema generation is Relay schema not Apollo one, so still, all my queries are red. Any chances to get all those mutations info etc somehow automatically? I mean the same schema we have in schema slider menu at the right.
n
you can use `graphql get-schema`: https://github.com/graphql-cli/graphql-cli
👍 1
a
And give it just url to the graphcool endpoint?
Gotcha. Thanks a lot! BTW. It gave me weird comments escaped via
""" description """
which is not valid. Should be
# description comment
So I then go and replace all
"""
with
#
to partially fix problem.
n
a
Makes sense. Plugin doesn’t support it yet 😞
n
aw, got it