BennySama
BennySama
MManifest
Created by BennySama on 3/1/2025 in #questions-🙋
Is there a cleaner/more appropriate way to auto-create this entity relationship in the Middleware?
For my use case, where the Profile entity of the specific user needs to be created along side, it would be sufficent to skip the step to get the userId by userName, like I do, but straight-up using the direct User ID from the freshly created User Entity
6 replies
MManifest
Created by BennySama on 3/1/2025 in #questions-🙋
Is there a cleaner/more appropriate way to auto-create this entity relationship in the Middleware?
But I wonder if there was an easier way, or if the where function from the manifest already has some built-in sanitation
6 replies
MManifest
Created by BennySama on 3/1/2025 in #questions-🙋
Is there a cleaner/more appropriate way to auto-create this entity relationship in the Middleware?
I use this middleware handler as "afterCreate", so the specific user should always exist
6 replies
MManifest
Created by BennySama on 2/25/2025 in #questions-🙋
API Policies - Custom Policy
Maybe it's just my habit, but I wouldn't want to create 3 Entities, but keep one user-Entity, but with 3 different roles
3 replies