Hi, I'm probably doing something wrong but I can't get the date parser flag to work correctly.
I've set pg types as
const parseTimestamp = (timestamp: string) => timestamp;
types.setTypeParser(types.builtins.TIMESTAMPTZ, parseTimestamp);
types.setTypeParser(types.builtins.TIMESTAMP, parseTimestamp);
And running kysely codegen with kysely-codegen --date-parser=string
but the generated types are still Generated<Timestamp>
where Timestamp = ColumnType<Date, Date | string, Date | string>
instead of string
.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too