the documentation is really terrible and confusing
# orm-help
t
the documentation is really terrible and confusing
r
Could you share what part of the docs you found confusing?
t
it is confusing to navigate, for exmaple, there are two separate guide to integrate with prisma
not 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.
đź’Ż 1
r
The
Adoption 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.
not 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.
t
also 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?
the example work fine, thank you, I appreciate it, it is clearer and show how to generate type(which is missing in the doc or maybe it exist but somehow I cant find it). I am looking at the typescript apollo example, but it doesnt show me how to deal with json and date type
r
also 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 🙂
So you would need to do:
Copy code
import { GraphQLScalarType } from 'graphql'
To get add those custom scalars which wasn’t present in the docs.
t
ok thanks
👍 2