Skip to content

Add option to only generate hashtags if a specific condition is met#7

Open
JustinAiken wants to merge 1 commit into
ralovely:masterfrom
JustinAiken:feature/add_guards
Open

Add option to only generate hashtags if a specific condition is met#7
JustinAiken wants to merge 1 commit into
ralovely:masterfrom
JustinAiken:feature/add_guards

Conversation

@JustinAiken
Copy link
Copy Markdown

Some things are better left unsaid
Some strings are better left undone
Some hearts are better left unbroken
Some social media is better left unhashtagged

This PR adds the option to create a guard (either a lambda or a method) that's checked before creating hashtags - the example given in the README and specs is pretty basic, but in practice this works well for more advanced checks on relationships and permissions and such.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#sixseasonsandamovie

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

Successfully merging this pull request may close these issues.

2 participants