attribute

package
v0.396.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL