Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-17359

Harry: Update Model validations to return ModelResult instead of void

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Triage Needed
    • Normal
    • Resolution: Unresolved
    • None
    • Test/fuzz
    • None
    • All

    Description

      From this PR discussion: https://github.com/apache/cassandra/pull/1382#discussion_r791222990

       

      Currently, Model validations return void, so they cannot be used in assertions. There are situations where it would be useful to know what a validation actually did, in terms of queries run, partitions validated, etc.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aratnofsky Abe Ratnofsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: