Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1612

[WON'T FIX] Extend the programming model so that mixins can have multiple actions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.14.0
    • v1 maintenance
    • Core
    • None

    Description

      I see this as a hybrid of a contributed service and a mixin.
      I quite like the idea of calling these "responsibilities", eg

      @Responsibility
      public class Customer_orders {
      
          private final Customer customer;
      
          public List<Order> getOrders() { ... }
      
          public Customer addOrder(...) { ... }
      
          public Customer removeOrder(...) { ... }
      
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: