News for hackers. Stuff that matters.
Re:Build declaratively back ends and APIs with GraphQL or REST by zifeo on Saturday August 12, 2023 @10:12AM (#37100386)
Prisma is one of the runtime currently supported [1]. Metatype enables you to compose multiple runtimes together. Let's say you have model/struct product (id, name, similarProducts), the two first attributes may be stored in Prisma (like you would do it normally), the third one can come from another runtime such as an HTTP api and the engine will take care of resolving the data together. You can also add an authorization policy on any of the fields.

[^1] https://metatype.dev/docs/reference/runtimes

There are no comments on this comment yet.