Documentation ¶
Index ¶
- func AttributeLocationsRule(asts []*parser.AST) (errs errorhandling.ValidationErrors)
- func SetWhereAttributeRule(asts []*parser.AST) (errs errorhandling.ValidationErrors)
- func UniqueAttributeArgsRule(asts []*parser.AST) (errs errorhandling.ValidationErrors)
- func ValidateFieldAttributeRule(asts []*parser.AST) (errs errorhandling.ValidationErrors)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttributeLocationsRule ¶
func AttributeLocationsRule(asts []*parser.AST) (errs errorhandling.ValidationErrors)
attributeLocationsRule checks that attributes are used in valid places For example it's invalid to use a @where attribute inside a model definition
func SetWhereAttributeRule ¶
func SetWhereAttributeRule(asts []*parser.AST) (errs errorhandling.ValidationErrors)
func UniqueAttributeArgsRule ¶
func UniqueAttributeArgsRule(asts []*parser.AST) (errs errorhandling.ValidationErrors)
func ValidateFieldAttributeRule ¶
func ValidateFieldAttributeRule(asts []*parser.AST) (errs errorhandling.ValidationErrors)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.