Problem
Currently for BigInt fields, we only support BigInt. It would be convenient to also allow number as an input
export type Post = {
id: number
title: string
body: string
userId: number
visitors: BigInt | null
}
Suggested solution
Also allow number as an input since number is a subset of BigInt. This will not be possible for the output types.
export type Post = {
id: number
title: string
body: string
userId: number
visitors: BigInt | number | null
}
Problem
Currently for BigInt fields, we only support
BigInt. It would be convenient to also allow number as an inputSuggested solution
Also allow number as an input since number is a subset of BigInt. This will not be possible for the output types.