networknt / networknt/yaml-rule
Multiple Actions Overwrite Each Other When In the Same Rule
Open
Nobody has claimed this yet.
bug
- Dominant language
- Java
- Stars
- 2
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
- If you have a rule defined that has more than 1 action, rules that update the same section of the payload (i.e. header, body, etc.) will overwrite each other.
- For example, multiple actions that update a header will only have the last action change values (action 1 gets overwritten).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with a YAML or JSON rule containing multiple actions that update the same payload section, such as headers. Trace where actions are applied and verify the behavior for repeated updates. Done means earlier updates are preserved rather than overwritten by the last action.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100