T3 Stack: Prisma, tRPC error

This page summarizes the projects mentioned and recommended in the original post on /r/nextjs

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • examples-next-prisma-starter

    🚀 tRPC starter repo with E2E-testing

  • { e.preventDefault(); const $form = e.currentTarget; const values = Object.fromEntries(new FormData($form)); type Input = inferProcedureInput< AppRouter["dailyActivity"]["addDailyActivity"] >; // ^? const input: Input = { name: values.title as string, timeSpent: values.text as string, }; try { await addActivity.mutateAsync(input); $form.reset(); } catch (cause) { console.error({ cause }, "Failed to add post"); } }} > Title: Text:
    {addActivity.error && (

    {addActivity.error.message}

    )}

    )

    So I am copying/learning the logic from https://github.com/trpc/examples-next-prisma-starter. In this code, there is no ID provided in the query, yet in my code, I get the error that I need to provide an ID. Since the ID in the prisma schema is cuid() doesn't that mean that is autogenerated? What am I missing?

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Potrebna mi je smernica/pomoc oko Next.js 13

    1 project | /r/programiranje | 9 May 2023
  • Full-Stack TypeScript with tRPC and React

    7 projects | news.ycombinator.com | 14 Mar 2023
  • Why our company replaced Golang+GraphQL with TypeScript+Prisma+tRPC

    3 projects | /r/reactjs | 27 Sep 2022
  • Show HN: ZenStack V2 – RLS alternative with declarative Auth rules in Prisma

    2 projects | news.ycombinator.com | 29 Apr 2024
  • Deploy Full-Stack Next.js T3App with Cognito and Prisma using AWS Lambda

    4 projects | dev.to | 15 Apr 2024