brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neykov <...@git.apache.org>
Subject [GitHub] brooklyn-server issue #482: DSL deferred execution
Date Tue, 13 Dec 2016 11:39:51 GMT
Github user neykov commented on the issue:

    https://github.com/apache/brooklyn-server/pull/482
  
    Did the removal of `DslCallable` locally. Works fine, but turns out we are losing one
important feature of the current approach - if you misspell a method on `DslComponent` you
won't find until executing the blueprint. Now it will complain when you try to deploy (at
least until we switch to `DDFC`). The reason is that if it doesn't find the method on the
`DslComponent` it will defer evaluation to get the underlying `Entity`.
    Wdyt @ahgittin, is it worth keeping `DslCallable/DslFunctionSource` to get the (now limited)
early warning?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message