Skip to content

Add support for CodeSection named parameters#1256

Merged
mtdowling merged 1 commit intomainfrom
codewriter-section-parameters
Jun 4, 2022
Merged

Add support for CodeSection named parameters#1256
mtdowling merged 1 commit intomainfrom
codewriter-section-parameters

Conversation

@mtdowling
Copy link
Copy Markdown
Member

This commit allows getters of any currently associated CodeSection to be
used as named parameters in AbstractCodeWriter templates. The context
bag is checked first, and if not found, methods of the associated
CodeSection, if present, are checked (x() and then getX()).

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This commit allows getters of any currently associated CodeSection to be
used as named parameters in AbstractCodeWriter templates. The context
bag is checked first, and if not found, methods of the associated
CodeSection, if present, are checked (x() and then getX()).
@mtdowling mtdowling requested a review from a team as a code owner June 3, 2022 17:39
@mtdowling mtdowling merged commit e72486e into main Jun 4, 2022
@mtdowling mtdowling deleted the codewriter-section-parameters branch June 13, 2022 05:06
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.

2 participants