Join Slack
Powered by
But when i commented using of `scalar DateTime` an...
# orm-help
j
John Smeeth
03/04/2019, 2:32 PM
But when i commented using of
scalar DateTime
and
scalar Json
and in model's field. it works.
John Smeeth
03/04/2019, 2:35 PM
@nikolasburk
could you give me your advise.
l
Luca
03/04/2019, 3:00 PM
I suppose Json is a Prisma type, it does not exist in gqlgen
Luca
03/04/2019, 3:01 PM
if you need it in gqlgen, you need to define it yourself (using scalar <type> and maybe even a custom implementation)
j
John Smeeth
03/04/2019, 3:02 PM
thank you
@Luca
can you give an example.
2
Views
Open in Slack
Previous
Next