Change ValidateResult from BasicCommandWithRequestParser to only throw in test mode

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Minor Change
    • Repl 2021-02-08
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The goal of validating the result of a command as part of enforcing "API Versioning" constraints is to catch any breaking changes in our code at testing phase, and not to block customers' runs.

       

      So we need to make sure that we only throw validation exception in "Debug_mode" only.

      We need to wrap this Line in if (getTestCommandsEnabled()) clause.

            Assignee:
            Moustafa Maher
            Reporter:
            Moustafa Maher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: