Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-1594

TransactionBlock should become generic

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.0, 2.0.0
    • Fix Version/s: 1.8.0, 2.0.0
    • Component/s: Sentry
    • Labels:
      None

      Description

      SENTRY-1422 introduce the TransactionBlock abstraction with Execute method that returns an object. This requires extra casts, not very type safe and generates warnings. Instead, TransactionBlock should be parameterized by the return type.

        Attachments

        1. SENTRY-1594.001.patch
          48 kB
          Alexander Kolbasov
        2. SENTRY-1594.001-sentry-ha-redesign.patch
          49 kB
          Alexander Kolbasov

          Issue Links

            Activity

              People

              • Assignee:
                akolb Alexander Kolbasov
                Reporter:
                akolb Alexander Kolbasov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: