简体   繁体   中英

Can Graphql ID be used for Kotlin type Long?

Background : I am making a Spring app powered by Kotlin that is using BigInts for IDs in Postgres which means that we have to use Longs in Kotlin.

Question : Can Graphql ID be used for Kotlin type Long?

Yes, Graphql ID can be used for Kotlin type Long. It works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM