Member Junction
    Preparing search index...

    Function DeserializeValidationErrors

    • Rebuilds real ValidationErrorInfo instances from whatever arrived over the wire.

      Tolerant by design — the input is the untyped extensions.validationErrors of a GraphQL error or a remote-op output field, and a client must never throw because a server sent something odd. Anything that is not an array yields []; entries are filtered by the same rule as SerializeValidationErrors, so a round trip is stable.

      Parameters

      • raw: unknown

        The transported value.

      Returns ValidationErrorInfo[]

      Instances a form can treat exactly like the output of a local Validate().