Skip to content

tutorial out of date: End-To-End Type-Safety with GraphQL, Prisma & React #5489

@bambery

Description

@bambery

I couldn't track down if the content on the prisma website's blog/tutorials is in the github or not, so I can't offer a PR.

This tutorial, "End-To-End Type-Safety with GraphQL, Prisma & React", featured as the third "Learn Prisma" link on this page: https://www.prisma.io/learn is out of date.

This tutorial works fine until part 3, and then it has issues immediately: https://www.prisma.io/blog/e2e-type-safety-graphql-react-3-fbV2ZVIGWg

graphql-yoga syntax has changed since this was written. Graphql-yoga no longer recommends installing @graphql-yoga/node anymore, it is not possible to import { createServer } from "graphql-yoga/node" any longer, etc. I see other code examples in this repo using the newly updated syntax, but the very first thing I did when attempting to evaluate whether or not I would use Prisma in my project has given me a tutorial which can't be completed as written.

Are there better/more up to date tutorials for Prisma aside from the ones linked to from the main site? I am extremely new to Prisma and don't have a sense of where is better to look.

Part 4 also appears to be out of date with the usage of urql, which requires importing cacheExchange and fetchExchange and passing an exchanges param to createClient

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions