primitivefield

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package primitivefield contains the private storage rules shared by text and number lists: their index restrictions and value-shape evolution. Their query contract is the membership package's.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsList

func IsList(field schema.Field) bool

IsList reports whether field is a text or number list.

func ValidateEvolution

func ValidateEvolution(before, after schema.Snapshot) error

ValidateEvolution prevents storage casts from masquerading as value-shape migrations. Applications must use an explicit, supported migration procedure. Each resource's own fields are compared, and each block definition's fields once, wherever the definition is placed.

func ValidateIndexes

func ValidateIndexes(collection schema.Collection) error

func ValidateManifestIndexes

func ValidateManifestIndexes(manifest schema.Manifest) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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