Skip to content

EXPOSED-507: Add Kotlin Uuid Support as column Type #2497

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

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

Conversation

Newspicel
Copy link

@Newspicel Newspicel commented May 31, 2025

Description

Summary of the change: I added Kotlin Uuid Support as uuidKt everywhere I found.

Detailed description:

  • What:
    • Added Kotlin Uuid Support with @OptIn(ExperimentalUuidApi::class)
    • Added a UuidColumnType
    • Added a UuidIdTable
    • Added a UuidEntity
    • Added Uuid to the Array Mapper in r2dbc
    • Added Uuid Tests
  • Why:
    • To allow uuid from kotlin.
  • How:
    • Choosed the Name: uuidKt()
    • Used everywhere the Uuid Methods, except in the uuidToDb Method, so there is no duplicated Code.

Type of Change

Please mark the relevant options with an "X":

  • Bug fix
  • New feature
  • Documentation update

Updates/remove existing public API methods:

  • Is breaking change

Affected databases:

  • MariaDB
  • Mysql5
  • Mysql8
  • Oracle
  • Postgres
  • SqlServer
  • H2
  • SQLite

Checklist

  • Unit tests are in place
  • The build is green (including the Detekt check)
  • All public methods affected by my PR has up to date API docs
  • Documentation for my change is up to date

Related Issues

https://youtrack.jetbrains.com/issue/EXPOSED-507

@Newspicel Newspicel changed the title Add Kotlin Uuid Support EXPOSED-507: Add Kotlin Uuid Support Jun 1, 2025
@Newspicel Newspicel changed the title EXPOSED-507: Add Kotlin Uuid Support EXPOSED-507: Add Kotlin Uuid Support as column Type Jun 1, 2025
@Newspicel Newspicel marked this pull request as ready for review June 1, 2025 17:46
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