eclipse-archived / smarthome

Eclipse SmartHome™ project
https://www.eclipse.org/smarthome/
Eclipse Public License 2.0
861 stars 787 forks source link

Proposal: Transformation Parameters #6891

Closed thewilli closed 5 years ago

thewilli commented 5 years ago

It would be benefital if one could provide optional parameters to transformations. This might be a default value for transformations that might fail or a context. The latter one could come especially handy in the JS transformation. If an additional parameter could be provided, one could simply reuse chunks of code that behave similar without the need for massive redundancy.

Seems to me (without being too much into it, sorry if I'm wrong) that this signature might be a showstopper for this.

davidgraeff commented 5 years ago

This project is abandoned