Hi everyone, can anyone please tell me why I should use GraphQL Server with prisma when i can just fetch data directly with prisma?
👀 1
l
Lars Ivar Igesund
07/29/2022, 8:15 PM
If you are doing server only, then you don't need GraphQL. But usually you need to provide some API to a client or some other (machine-to-machine) service, in which case GraphQL is a great option.
a
Austin
07/29/2022, 8:16 PM
Hey there 👋,
There are a number of reasons why you might choose GraphQL, including serving multiple clients or consolidating multiple data sources.
You can learn more about GraphQL here.