Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for random Candid string generation #2

Open
lastmjs opened this issue Dec 16, 2024 · 0 comments
Open

Allow for random Candid string generation #2

lastmjs opened this issue Dec 16, 2024 · 0 comments

Comments

@lastmjs
Copy link
Member

lastmjs commented Dec 16, 2024

Some parameters in canister methods are just of the regular Candid string type, but the string should be a valid Candid text format string itself. Right now we don't support this, so we just generate random strings and filter out those values.

We could use didc or our own random Candid string generator to improve this.

This also brings up the question of allowing the developer to create their own custom arbitraries for specific methods and specific parameters.

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

No branches or pull requests

1 participant