Versions in this module Expand all Collapse all v0 v0.0.3 Oct 22, 2024 v0.0.2 Jun 3, 2024 Changes in this version + type DiffableSchema struct + CaveatDefinitions []*core.CaveatDefinition + ObjectDefinitions []*core.NamespaceDefinition + func NewDiffableSchemaFromCompiledSchema(compiled *compiler.CompiledSchema) DiffableSchema + func (ds *DiffableSchema) GetCaveat(caveatName string) (*core.CaveatDefinition, bool) + func (ds *DiffableSchema) GetNamespace(namespaceName string) (*core.NamespaceDefinition, bool) + func (ds *DiffableSchema) GetRelation(nsName string, relationName string) (*core.Relation, bool) + type SchemaDiff struct + AddedCaveats []string + AddedNamespaces []string + ChangedCaveats map[string]caveats.Diff + ChangedNamespaces map[string]namespace.Diff + RemovedCaveats []string + RemovedNamespaces []string + func DiffSchemas(existing DiffableSchema, comparison DiffableSchema) (*SchemaDiff, error)