schemaupdate

package
v0.0.79 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package schemaupdate contains utility functions to compare two schemas for updates

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateSchemaUpdate

func ValidateSchemaUpdate(oldRuleSchema *structpb.Struct, newRuleSchema *structpb.Struct) error

ValidateSchemaUpdate validates that the new json schema doesn't break profiles using this rule type

func ValidateSchemaUpdateMap added in v0.0.75

func ValidateSchemaUpdateMap(oldSchemaMap, newSchemaMap map[string]any) error

ValidateSchemaUpdateMap validates that the new json schema doesn't break profiles using this rule type

Types

This section is empty.

Jump to

Keyboard shortcuts

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