function

Resolve

Resolve executable config into a deterministic schema manifest.

Example

go
manifest, err := ridu.Resolve(content.Config())
if err != nil {
  log.Fatal(err)
}
fmt.Println(manifest.Snapshot().Version)

Arguments

ArgumentTypeDescription
applicationConfigConfigExecutable Ridu config.

Returns

The manifest or an error.

(schema.Manifest, error)

How it works

Resolution runs plugin transforms without opening a database.

Full signature

func Resolve(applicationConfig Config) (schema.Manifest, error)

Source ridu.go:313

Related types

  • Config

    The complete author-owned application definition.

  • Manifest

    An immutable versioned schema contract.

Related guides