Skip to content

Allow for random Candid string generation #2

@lastmjs

Description

@lastmjs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions