Jason Kuhrt
Jason Kuhrt
Some additional thoughts came up with @Weakky today while sprint planning. - Going between serverless and serverful should not be mutually exclusive. This is a significant change in our thinking....
Hey @kristoferma, yeah we're aware, from the [docs](https://nextjs.org/docs/basic-features/data-fetching#write-server-side-code-directly): > That means you can write code such as direct database queries without them being sent to browsers. You should not fetch...
Hey @kristoferma sorry missed your post before, about it: > use(prisma()) gave me the Error: You most likely forgot to initialize the Prisma Client. error. I bypassed that by doing...
@kristoferma Ah my mistake, you were talking about `getServerSideProps` and I replied about `getStaticProps`. > Currently I fetch the data from the graphql endpoint and it works fine, but it...
> Perhaps I am jumping ahead slightly though Hey, yeah slightly. You're kind of on your own right now. I actually think it might be possible now with the primitives...
@kristoferma > and another one in the root project node_modules. Nexus Prisma apps depending on prisma deps directly is not supported. @zapbr > Is it somehow possible to bundle the...
@kldzj will have to look into it. [Like I mentioned to toddpla](https://github.com/graphql-nexus/nexus/issues/782#issuecomment-633321006) you're a bit ahead of us. If you want to contribute a serverless example to examples repo that...
@AaronBuxbaum that's with nextjs correct? @kldzj I'm assuming there was another reason than that since you'll have to import modules just the same with `@nexus/schema`. What was the reason in...
@AaronBuxbaum If you can contribute an [example](https://github.com/graphql-nexus/examples) or [recipe](https://nexusjs.org/guides/recipes) that would be great. It seems that your technique is similar to our [nextjs recipe](https://nexusjs.org/guides/recipes#use-with-nextjs).
Just hit this, wanted to do: ```ts export { User } from '@prisma/client' import { schema } from 'nexus' schema.objectType({ name: 'User', rootTyping: 'User', definition(t) { ... }, }) ```...