reeseovine / pronouns.js

personal pronoun helper
GNU Affero General Public License v3.0
24 stars 3 forks source link

Only allow string and/or options object as arguments #8

Open reeseovine opened 4 years ago

reeseovine commented 4 years ago

Restricting the types of input allowed will greatly improve reliability. As it stands right now, _process() will try to interpret increasingly complex data types with questionable fallbacks in place. Let's keep things as straightforward as we can.

Doing this can allow you to set options without also needing to provide a pronoun string to interpret.

reeseovine commented 4 years ago

Why not add more options while we're at it? I'll use this conversation to figure out what they would be.