nestjs-backend-common
    Preparing search index...

    Function OneOf

    • Parameters

      • properties: string[]

      Returns (target: any) => void

      Throws an error if more than one of the properties are present in the request body/querystring. Learn how to use it by reading the unit tests.