Skip to content

feat: allow users to specify custom column types - #8625

Closed
Ginden wants to merge 1 commit into
typeorm:masterfrom
Ginden:feature/custom-column-types
Closed

Ginden wants to merge 1 commit into
typeorm:masterfrom
Ginden:feature/custom-column-types

Conversation

@Ginden

@Ginden Ginden commented Feb 11, 2022

Copy link
Copy Markdown
Contributor

Resolves #8407

Description of change

Allows to specify object of interface CustomColumnType wherever ColumnType is required.

This allows users to define arbitrary column types without monkey patching library internals.

TODO: add docs and tests.

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • npm run lint passes with this change
  • npm run test passes with this change
  • [x ] This pull request links relevant issues as Fixes #0000
  • There are new or updated unit tests validating the change
  • Documentation has been updated to reflect this change
  • The new commits follow conventions explained in CONTRIBUTING.md

@pleerock

Copy link
Copy Markdown
Member

We also need to be sure entity schemas support this feature.

@pleerock

Copy link
Copy Markdown
Member

I'll close it since it's stale and in draft. Feel free to re-open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Add SERIAL column support for PostgreSQL

2 participants