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

💡 Fragment support in column type #107

Open
msmakouz opened this issue Mar 14, 2023 · 0 comments
Open

💡 Fragment support in column type #107

msmakouz opened this issue Mar 14, 2023 · 0 comments
Assignees
Labels
type: feature New feature.

Comments

@msmakouz
Copy link
Member

I have an idea!

It would be nice to add Fragment support when specifying the column type. When passing a Fragment, don't map it and use it as a custom type. For example, this will allow using the native json type in MySQL (and not map it to text).

#[Column(type: new Fragment('json'))]
@msmakouz msmakouz added the type: feature New feature. label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature.
Projects
Status: Backlog
Development

No branches or pull requests

2 participants