Uploaded image for project: 'Immutant'
  1. Immutant
  2. IMMUTANT-265

Deprecate cache fn in favor of two fns: create and lookup

    Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.10.0
    • Labels:
      None

      Description

      Having a single function both create and return a reference to a global, shared cache is too confusing.

      Instead, we should have a single fn to create the cache, implying a restart if it already exists, and a single function to return a cache, nil indicating it hasn't been created.

      We'll alias the current cache function to create, but it should be deprecated.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            jcrossley Jim Crossley added a comment -

            I consider IMMUTANT-258 a failed attempt at addressing what this issue (265) addresses.

            Show
            jcrossley Jim Crossley added a comment - I consider IMMUTANT-258 a failed attempt at addressing what this issue (265) addresses.

              People

              • Assignee:
                jcrossley Jim Crossley
                Reporter:
                jcrossley Jim Crossley
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development