Creating an issue to track a few problems I've found with the app:
xata:init in package.json refers to a --schema=schema.template.json when it should be --schema=schema-template.json. Hyphen not period.
- The app uses
getServerSession, which requires the req param to be a NextApiRequest, but the req is a standard Request.
- References to
import { XataClient } from '~/lib/xata.codegen' should be updated to ~/shared/xata.codegen
Creating an issue to track a few problems I've found with the app:
xata:initinpackage.jsonrefers to a--schema=schema.template.jsonwhen it should be--schema=schema-template.json. Hyphen not period.getServerSession, which requires thereqparam to be aNextApiRequest, but thereqis a standard Request.import { XataClient } from '~/lib/xata.codegen'should be updated to~/shared/xata.codegen