![]() ![]() If not, the WunderGraph server (WunderNode) serves the result of each operation as JSON-RPC over good ol’ HTTP REST API endpoints, solving the security and caching issues of GraphQL in one fell swoop.No need to write and maintain your own types. If you’re using a React-based framework (like NextJS or Remix), or SolidJS, WunderGraph then generates fully typesafe data fetching hooks for you (using Vercel’s SWR or TanStack Query under the hood) that you use on the frontend to access that data.If querying in GraphQL, you can use a special _join field to skip the burden of doing these in-code JOINs entirely. You can then write GraphQL queries, or async resolvers in TypeScript (with Zod for validation) to get any combination of data you need from the graph, composing different APIs and data sources together. ![]()
0 Comments
Leave a Reply. |