Closed im-sampm closed 6 months ago
[heart] Sam Peddamatham reacted to your message:
From: Shubh Bapna @.> Sent: Tuesday, January 9, 2024 8:06:11 AM To: kiegroup/act-js @.> Cc: Sam Peddamatham @.>; Author @.> Subject: Re: [kiegroup/act-js] Added support for passing variables (PR #68)
@shubhbapna approved this pull request.
LGTM! Yes I did write the ArgumentMap class to reduce duplicate code between act options like env, matrix, platforms etc but it mainly focuses on having no duplicate code for the toActArguments method. I open to considering better design options!
— Reply to this email directly, view it on GitHubhttps://github.com/kiegroup/act-js/pull/68#pullrequestreview-1810593884, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBRCVFCHBRUAE5FSHAPOI2DYNT27HAVCNFSM6AAAAABBPDRODOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQMJQGU4TGOBYGQ. You are receiving this because you authored the thread.Message ID: @.***>
This change adds basic support for passing
--vars
toAct
.I chose to model the change on the
env
implementation rather thanevent
for simplicity, but I feel likevars
,env
andinput
could probably be refactored to have a common implementation.I haven't created test cases for this change.