also in this example, is this naming required? the...
# prisma-whats-new
a
also in this example, is this naming required? the
SomeUserExists
stands for?
Copy code
query permitCreatePosts($user_id: ID!) {
  SomeUserExists(filter: {
    id: $user_id
  })
}
d
SomeUserExists is a query that is generated by graph.cool. There will be a SomeXExists query for every type in your schema, which you can use in permission queries.
a
Yup, that's what I get for not reading the docs before the tutorial. Any resources on learning permission queries?! I tried the examples in the graphcool docs and couldn't figure out half of them myself.
d
Aside from reading the docs and having a look through the various discussions on the forums ( https://www.graph.cool/forum/search?q=permissions ), I would suggest playing around in the graph.cool console with a simple schema and some permissions.
If you have questions about specific examples from the docs, I would suggest asking them on the forum