-
Notifications
You must be signed in to change notification settings - Fork 10
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
[PLA-2023] Sync attribute when creating or updating #276
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
enhancement
Description
boot
method to theAttribute
model to automatically dispatch theSyncMetadata
job when an attribute is created or updated.key
matches a specific value (0x757269
).Changes walkthrough 📝
Attribute.php
Implement automatic metadata synchronization on attribute changes
src/Models/Laravel/Attribute.php
SyncMetadata
job.boot
method to dispatchSyncMetadata
job on model creationand update.
key
before dispatching the job.