cli icon indicating copy to clipboard operation
cli copied to clipboard

Added JSON input validation for CLI commands

Open andrewnester opened this issue 1 year ago • 0 comments

Changes

Added JSON input validation for CLI commands

Relies on using dyn library.

Fixes #1769 #1764 #1625 #1560

Note: before json unmarshalling was not respecting ForceSendFields anyway (json.Unmarshal was used instead of marshal.Unmarshal) but it makes sense to address it now anyway.

To-do: [x] Make sure we respect ForceSendFields

Tests

Added unit tests

andrewnester avatar Sep 13 '24 11:09 andrewnester