--argument-file can convert binary files to blob #3107
sesi200
started this conversation in
Feature Requests
Replies: 1 comment
-
This would likely lead to errors that are very hard to debug if the user supplies a file that is supposed to be valid candid but made a syntax error. Should this feature be put behind an extra flag like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Requested by @lastmjs via DM
Currently,
--argument-file
only accepts valid candid argument. This feature request would mean that if the file is not a valid candid value and the function takes a blob, then the file would automatically be converted into(blob "<file content")
.Beta Was this translation helpful? Give feedback.
All reactions