RFC: Decorators support #18
Labels
api
Related to library's API
enhancement
New feature or request
typescript
Related to Typescript
wontfix
This will not be worked on
Big Thanks to @koskimas for writing this amazing library.
Did kysely consider supporting class-based type definition? Different from interface, class support decorators. And it's which helps us to implement more powerful and flexibility features.
For example:
Typescript property decorators could set metadata for the class. This means we can use the
KyselyPlugin
to create plugins like auto-update updatedAt, encrypted fields, hashed password, etc.And this can also be used to solve the problem in #5
This can make kysely more powerful than sql builder and more flexible than ORM
The text was updated successfully, but these errors were encountered: