Diesel.Tag.Validator (diesel v0.7.2)

Helper module that validates a tag against a schema.

Validation of tags is only available for structured tags, and is applied right after tag parsing and before code generation.

Summary

Functions

Validates the given node, against the given schema

Functions

Link to this function

validate(node, schema)

@spec validate(node :: tuple(), schema :: tuple()) :: :ok | {:error, any()}

Validates the given node, against the given schema