Add Parameter or Variable alias for the Default element

Open
#1,058 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Domain
tooling

Research direction

Locate the code that parses Default elements and the related module.xml handling, then trace how named values are passed to invoke or modules. Add support for Parameter and Variable as aliases with the same Name and Value behavior, and verify that existing Default behavior remains unchanged.

Written by the indexing model from the issue text.

Description

prio: low

Parameters or variables that can be passed as arg values to invoke or to the module can be setup as Default alements:

<Default Name="count" Value="7" /> 

that allows then use ${count} variable in module.xml.

Let's introduce a Parameter alias? as "Default" is not an obvious name for such parameters or variables. "Variable" is good to, so:

<Parameter Name="count" Value="7" /> 

or

<Variable Name="count" Value="7" /> 
Dominant language
ObjectScript
Stars
41
Forks
33
Avg merge
23h 20m
Merged PRs (30d)
29

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from intersystems/ipm

All issues in intersystems/ipm

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.