Skip to content

logDeprecationWarnings

const logDeprecationWarnings: (eventDef, args) => Effect.Effect<void>

Defined in: packages/@livestore/common/dist/schema/EventDef/deprecated.d.ts:94

Logs deprecation warnings for an event using Effect.logWarning. Checks both event-level and field-level deprecation, with deduplication.

AnyWithoutFn

The event definition to check

Record<string, unknown>

The event arguments

Effect.Effect<void>

An Effect that logs warnings for any deprecations found