Summary
Currently, when making a password recipe, you need to specify the character sets that can be used when generating the password (e.g. SYMBOLS, LETTERS, DIGITS). However, it can be tricky to know by heart the supported character sets.
Also, it would be nice to have a sort of validation of the recipe before sending the request to Connect. As a starting inspiration, you can check the validRecipe function from Node SDK.
Tasks to be done
Summary
Currently, when making a password recipe, you need to specify the character sets that can be used when generating the password (e.g.
SYMBOLS,LETTERS,DIGITS). However, it can be tricky to know by heart the supported character sets.Also, it would be nice to have a sort of validation of the recipe before sending the request to Connect. As a starting inspiration, you can check the
validRecipefunction from Node SDK.Tasks to be done
onepassword/items/go. Please ensure that all constants are set by checking out this part of the Connect API documentationNote: Feel free to change the name of the type, as well as the constant names. This is just a sample code of what it can look like.
CharacterSetsproperty of theGeneratorRecipestruct to use the new type. (line 132)