I have a DB Table with a big int primary key. When my primary key is too large like 'xxxxxxxxxxxxxx' i get always this same value on lighthouse graphql query: 2147483647
Is there a way to declare the size of my ID? Like id:ID! BigInt
I managed to get it done by adding:
protected $keyType = 'bigint';
on the laravel model class.