Skip to content

* fix: parse dynamic module arguments consistently - #20

Open
baocang wants to merge 1 commit into
easysoft:mainfrom
baocang:fix/validate-json-input
Open

baocang wants to merge 1 commit into
easysoft:mainfrom
baocang:fix/validate-json-input

Conversation

@baocang

@baocang baocang commented Sep 4, 2026

Copy link
Copy Markdown

Summary

  • support both --key=value and --key value for dynamic module parameters
  • accumulate repeated flags and preserve dash-leading values
  • coerce bare flags, negative integers, and decimal values consistently
  • recognize only plain decimal object IDs
  • reject malformed --data and positional JSON instead of silently dropping the request body
  • pass dynamic arguments through the generic get command

Verification

  • bun run typecheck
  • bun test (192 tests)
  • bun run build
  • git diff --check

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.

1 participant