Directive or something to force to use a Long? #33
-
Having this schema part:
It generated:
I would like to force the Note: I don't want to introduce a Related, I was looking if it was possible to use non-primitives in my generated types so I tried:
But it does still generates a primitive |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
regarding use of For the |
Beta Was this translation helpful? Give feedback.
regarding use of
Long
, the general recommendation has been to just defineLong
as a custom scalar in your schema if you need to use it and register it manually as described here: https://netflix.github.io/dgs/scalars/For the
Boolean
type, can you elaborate on why you need it if it is a non-nullable?