Skip to content

Fix HasUuid boot method and preserve preset UUIDs#46

Merged
midnite81 merged 1 commit into
mainfrom
bug/fix-bootable-uuid
Apr 6, 2026
Merged

Fix HasUuid boot method and preserve preset UUIDs#46
midnite81 merged 1 commit into
mainfrom
bug/fix-bootable-uuid

Conversation

@midnite81
Copy link
Copy Markdown
Owner

Summary

  • align the trait boot method name with Laravel's expected HasUuid convention
  • preserve preassigned UUID values instead of overwriting them during model creation
  • update the trait test to call the corrected boot method

Testing

  • ./vendor/bin/pest tests/Traits/Eloquent/HasUuidTest.php

@midnite81 midnite81 merged commit ba49eb0 into main Apr 6, 2026
4 checks passed
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