^ If I set a name in the relation to the correct s...
# prisma-whats-new
i
^ If I set a name in the relation to the correct spelling, how would I go about correcting the spelling for queries?
I figured that would be inherited. Is this expected behavior? If not, I can file an issue.
a
allTodoes
has nothing to do with the relationship you have set. It's only about the
Todo
Types ->
allTodoes
query, that naming cannot be influenced. If you would query all todos on a user, that would be:
Copy code
query {
   user {
      todos {
         ...
      }
   }
}
like you have named the relationship field.
That said, the general spelling rule is -os for plural, not -oes, which is the exception, so I think there's still an issue in there.
i
Okay. I’ll shoot an issue to Github then
🐌 1
😉 1
Thanks man!
😎 1
i
Cool, nevermind, haha
a
I cheated, I've got a keyboard shortcut for that Github issues list 😄
😎 1
😀 1