Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Conversation

kslimani
Copy link
Contributor

It fixe a bug with UUID scope trait when providing uuid attribute at entity creation.

Example case :

$fixedUuid = '84e28c10-8991-11e7-ad89-056674746d73';
$role = Role::firstOrCreate(['name' =>'John', 'uuid' => $fixedUuid]);

Current code generate a new uuid at creation even if you provide one.
(with fix, it properly set the provided uuid).

@joselfonseca joselfonseca merged commit 8002e1c into joselfonseca:master Aug 26, 2017
@joselfonseca joselfonseca added this to the 3.2.0 milestone Aug 26, 2017
@kslimani kslimani deleted the fix-uuid-scope-trait branch August 27, 2017 12:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants