Skip to content

Add function to apply resolved strings from another Context object#133

Merged
jmp3833 merged 4 commits into
HubSpot:masterfrom
jmp3833:master
Aug 1, 2017
Merged

Add function to apply resolved strings from another Context object#133
jmp3833 merged 4 commits into
HubSpot:masterfrom
jmp3833:master

Conversation

@jmp3833

@jmp3833 jmp3833 commented Aug 1, 2017

Copy link
Copy Markdown
Contributor

Useful for passing resolved expressions, functions, and values to the parent Context object. This way when evaluating nested content, these resolved values can be exposed up the context chain.

@jboulter @jmagnarelli-hs

*
* @param context - context object to apply resolved values from.
*/
public void applyResolvedFrom(Context context) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why 'apply' instead of just 'add'?

@boulter

boulter commented Aug 1, 2017

Copy link
Copy Markdown
Contributor

@hs-lsong

@hs-lsong

hs-lsong commented Aug 1, 2017

Copy link
Copy Markdown
Collaborator

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants