Dexels / navajo

Navajo Service-oriented Applications
GNU Affero General Public License v3.0
9 stars 5 forks source link

Build in support for "implicit message map" when populating an Object in a setter #608

Closed aschoneveld closed 2 years ago

aschoneveld commented 2 years ago

instead of this construction where param message is abused in order to map a message to a field, while in fact we simply want to create an object for the field without having a message as input:

map.truust {

    $customer {
        [/@] {
            $email = 'email@email.com';
        }
    }
}

should be replaced by something more natural:

map.truust {

    $customer = {
        $email = 'email@email.com';
    }
}
aschoneveld commented 2 years ago

see #607