diff --git a/mapper/node.go b/mapper/node.go index 5d6a5ee..24bf761 100644 --- a/mapper/node.go +++ b/mapper/node.go @@ -77,6 +77,11 @@ func ValidateNode(node *drip.Node) error { return fmt.Errorf(err) } } + if node.Description != nil { + if len(*node.Description) > 1000 { + return fmt.Errorf("description is too long") + } + } return nil }