[
https://issues.apache.org/jira/browse/OFBIZ-9523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16107419#comment-16107419 ]
Jacques Le Roux commented on OFBIZ-9523:
----------------------------------------
Thanks Nicolas,
I actually did not follow recent changes on Groovy DSL and did not know this new syntax.
One thing which begins to worry me, if we want to switch from minilang to Groovy DSL, is the lack of API documentation in wiki, like we have for minilang. I don't think a wiki page with examples will fly... BTW what about OfbizDslDescriptorForEclipse.dsld?
http://svn.apache.org/viewvc?view=revision&revision=1643183> Improve groovy DSL : runService call makeValidContext
> -----------------------------------------------------
>
> Key: OFBIZ-9523
> URL:
https://issues.apache.org/jira/browse/OFBIZ-9523> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Trunk
> Reporter: Nicolas Malin
> Assignee: Nicolas Malin
> Fix For: Upcoming Release
>
> Attachments: OFBIZ-9523.patch
>
>
> When you call run service with groovy, you need to be sure that all parametes are good for the service call.
> I propose to simplify this dsl with an automatic parameters check so you can call directly like that
> {code}
> run service : createProduct, with: context
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)