package yocaml

  1. Overview
  2. Docs

A Data Provider is used to deserialise metadata to data of type Yocaml.Data.t in order to apply validations.

type t

The type represented by the data provider.

val from_string : string -> (t, Required.provider_error) Stdlib.result

Produces a type t value from a string.

val normalize : t -> Data.t

Converts a value of type t into a value of type Yocaml.Data.t.

OCaml

Innovation. Community. Security.