Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: EXPOSED-483 Column.transform() not applied when creating DAO entity #2246

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

obabichevjb
Copy link
Collaborator

Description

Summary of the change: Introduced a new prePersist() method for entity fields in the Kotlin Exposed library to allow for value transformations before assignment to entity fields.

Implemented prePersist() method as part of the field delegation mechanism in the library. This method accepts a lambda function to define the transformation logic.


Type of Change

  • New feature

Affected databases:

  • All

Related Issues

EXPOSED-483 Column.transform() not applied when creating DAO entity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant