yaschema
    Preparing search index...

    Function upgraded

    • Requires either and old schema or a new schema be satisfied. However, a warning is logged if the new schema isn't satisfied and the old schema is (once per uniqueName per runtime instance).

      Type Parameters

      • OldT
      • NewT

      Parameters

      • uniqueName: string
      • args: { new: Schema<NewT>; old: Schema<OldT> }
      • Optionaloptions: { deadline?: string }

      Returns UpgradedSchema<OldT, NewT>

      setLogger