validation

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateFilter added in v0.4.5

func ValidateFilter(filter *base.TupleFilter) (err error)

ValidateFilter checks if the provided filter conforms to the entity definition

func ValidateTuple

func ValidateTuple(definition *base.EntityDefinition, tup *base.Tuple) (err error)

ValidateTuple checks if the provided tuple conforms to the entity definition and relation schema provided. It returns an error if the tuple is invalid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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