ent
ent copied to clipboard
Feature Request: Add actions to patterns
Would be great to define actions in a pattern. A use case I have is the Profile
pattern's username
field. Would be great to have a SetUsernameAction
that can be defined once and not on every profile.
yup, related https://github.com/lolopinto/ent/issues/596
i even wrote this comment today https://github.com/lolopinto/ent/blob/main/internal/schema/input/input.go#L22 when fixing https://github.com/lolopinto/ent/pull/702
Great! It does make sense to me to copy most everything from Node. I’m sure having constraints and indices will be valuable too.