# FromZodSchemaOptions

Defined in: [core/src/utils/zod.ts:34](https://github.com/B3Pay/ic-reactor/blob/f1956947ae037304fce1675a38695964c1aa9e32/packages/core/src/utils/zod.ts#L34)

Options for [fromZodSchema](https://ic-reactor.b3pay.net/v3/libs/functions/fromzodschema/).

## Properties

### async?

> `optional` **async?**: `boolean`

Defined in: [core/src/utils/zod.ts:47](https://github.com/B3Pay/ic-reactor/blob/f1956947ae037304fce1675a38695964c1aa9e32/packages/core/src/utils/zod.ts#L47)

Parse with `safeParseAsync` instead of `safeParse`, for a schema with an
async refinement or transform. zod refuses such a schema on the
synchronous path, for valid and invalid input alike.

The validator then returns a promise, so it runs where async validators
do: `validate()` and `callMethodWithValidation()`. `callMethod()`, and
the query and mutation hooks and factories that call it, run validators
synchronously and refuse the call.

#### Default

```ts
false
```