KyselyK
Kysely3y ago
3 replies
bombillazo

Any way to docutype a Column as `@deprecated`?

Hello, We'd like to have columns we specify in out types with the
@deprecated
type identifier in the Table type definition comments to be used in queries, is there a way to make it work with Kysely?
Solution
Not in any way that'd highlight or otherwise indicate the deprecated columns in queries. There's no typescript or IDE feature that'd allow string literals to be marked as deprecated.
Was this page helpful?