View definition

(*AttributeDefinition).AllRequired

Defined in github.com/goadesign/goa/design/definitions.go

Description

AllRequired returns the list of all required fields from the underlying object. An attribute type can be itself an attribute (e.g. a MediaTypeDefinition or a UserTypeDefinition) This happens when the DSL uses references for example. So traverse the hierarchy and collect all the required validations.

AllRequired is referenced in 1 repository

github.com/goadesign/goa