Mapping view: Prevent creation of operation if mapping incomplete

Issue #25 new
Matthias Schoettle created an issue

Steps to reproduce:

  1. Open StockExchange
  2. Delete mappings of Map
  3. Map |Data to StockManager
  4. Click on getValue
  5. Type in an operation name (e.g., getStock)

Result: There will be an operation with the following signature: + |Value getStock(|Key key)

Suggestion: Don't allow to create an operation until either all mandatory elements are mapped or the ones that are used in this operation (if they are partial).

Comments (1)

  1. Matthias Schoettle reporter

    If a user renames, for example, a class that is not partial, it is hard to prevent that, but if it happens, the tool could inform the user about this and request him to update the types in his design.

    A notification/feedback system could be an idea for a project.

  2. Log in to comment