I have issue where I cannot map Long type in Swift.
E.g. schema.graphql
scalar Long
input TableLongFilterInput {
between: [Long]
contains: Long
eq: Long
ge: Long
gt: Long
le: Long
lt: Long
ne: Long
notContains: Long
}
But in Swift I get type of any?
I tried with scalar Long at the top of schema or mapping it to Int64 but I always get any?
I cannot change schema.
I was using:
NRGkick % npx @aws-amplify/cli codegen models \
--model-schema ./schema.graphql \
--target ios \
--output-dir ./Models \
--scalars '{"Long":"Int64"}'