RobustToolbox
RobustToolbox copied to clipboard
adds datafield constraints
DNM, im opening this pr to run ci bc my poopy laptop cant even run yamllinter
the tech:
- inherit ConstraintAttribute
- implement SupportedTypes (which types the datafield is allowed to be)
- implement Validate (the logic that gets run to determine if the constraint is satisfied)
for a crappy example that i quickly threw together, see MinAttribute.cs