Inherited Code Wrappers
274
Views
2
Comments
New
Service Studio

(It is different, but alike to https://www.outsystems.com/ideas/10924/improve-crud-wrapper-generator/)

When working under architecture, we work in different modules which inherit. (E.g. BL inherits CS). This is mostly done using wrappers, which have to be made by the developer. 

As far as I understand @João Melo wants a right click option on the Created CRUD action of an entity. Which helps speeding up development on that part.

But when working in multiple architecture layers, you still have to create actions in the other modules by hand.

It would save a huge amount of time when we could select a function in a referenced module, right-click on it, and select an option "Create Wrapper Action". Which would trigger a wrapper function with the same input/output and include the original action.

This is not limited to Entities, etc. But could be used on any Action/Function/Service Action/etc...

It would be even greater if we could create the wrapper with a selection of options

  • Create Action Wrapper
  • Create Service Action Wrapper
  • Create Rest Service Action Wrapper (kinda more difficult because of the existence of the producer settings)

Bonus Idea 

(Not limited to the wrapper, but also on input/out parameters of inherited types):

When we inherit or use an existing item, Architecture dashboard want public action, input/output parameters, etc to have a description. The descriptions can be defaulted based on the action, and when available, why not copy the original description. An EntityId description is usually the same as the input parameter description of the instance. You can change it, if it is different, but 99% the original description (and the name) are fit for business

Changed the category to
Service Studio

Very useful idea.