ExParamsSchema.Schema.Defaults.Context (ex_params_schema v0.1.1)

Copy Markdown View Source

Carries the resolved JSON Schema and traversal state while normalizing defaults.

This internal context tracks nested field paths and inherited error reasons.

Summary

Types

t()

@type t() :: %ExParamsSchema.Schema.Defaults.Context{
  field_path: [String.t()],
  reason: ExParamsSchema.error_reason() | nil,
  resolved: ExJsonSchema.Schema.Root.t(),
  schema_path: [String.t()]
}