tylim
11/27/2020, 8:05 AMRyan
11/27/2020, 10:07 AMtylim
11/27/2020, 12:12 PMtylim
11/27/2020, 12:15 PMRyan
11/27/2020, 12:15 PMAdoption Guide
is for those who were using Nexus framework and now are moving to Nexus Schema. As you are just getting started, you need to refer the Prisma section.Ryan
11/27/2020, 12:17 PMnot only there is problem with navigation, it is incomplete, missing explanation on a lot of stuff, example, where am i suppose to import GraphQLScalarType from? and this is one just amongst many other similar case, it is literally impossible to setup the project using the guide in the doc.Yes this is an issue that will need to be updated, so for the time being, I would suggest cloning the examples that I provided and starting from those.
tylim
11/27/2020, 12:22 PMtylim
11/27/2020, 12:25 PMRyan
11/27/2020, 12:28 PMalso this guide is located in the Nexus Framework Prisma User section, so as non nexus framework user, if i dealing with date and json, do i need this?
if as non nexus framework user need this, shouldn’t this located in the Prisma section?This is only for the Nexus framework users that were using Json and Date type. If you are using
Date
and Json
in your current example, then you will require those. And the above script is based on this example where you will find this library.
We will add those to the docs as well 🙂Ryan
11/27/2020, 12:29 PMimport { GraphQLScalarType } from 'graphql'
To get add those custom scalars which wasn’t present in the docs.tylim
11/27/2020, 12:35 PM