Skip to content

Conversation

@albertcht
Copy link
Member

@albertcht albertcht commented Apr 23, 2025

Because Hyperf\Database\Model\Concerns\HasUuids and Hyperf\Database\Model\Concerns\HasUlids traits need to be used with Hyperf\DbConnection\Listener\InitUidOnCreatingListener::class, which is less intuitive and convenient.

We implement new Hypervel\Database\Eloquent\Concerns\HasUuids and Hypervel\Database\Eloquent\Concerns\HasUlids traits with automatic hook registration to replace the original Hyperf implementation.

Reference: #41

@albertcht albertcht added the enhancement Improved feature or adjustments. label Apr 23, 2025
@albertcht albertcht merged commit 640d6bb into main Apr 24, 2025
12 checks passed
@albertcht albertcht deleted the feature/new-has-uuids-trait branch April 24, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improved feature or adjustments.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants