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

Coerce parameters to strings to see if a state is active #151

Merged
merged 5 commits into from
Sep 9, 2022

Conversation

TehShrike
Copy link
Owner

Since everything gets coerced to a string when it goes into the url, this makes it not a giant pain to do stuff like asr.stateIsActive('app.my_state', { my_cool_id: 420 }) when you have numeric ids

Since everything gets coerced to a string when it goes into the url, this makes it not a giant pain to do stuff like `asr.stateIsActive('app.my_state', { my_cool_id: 420 })` when you have numeric ids
index.js Outdated Show resolved Hide resolved
We haven't been shipping ES5-compatible code for a while...
A little backwards compatibility why not
@TehShrike TehShrike merged commit f636149 into master Sep 9, 2022
@TehShrike TehShrike deleted the 2022-09-09-make-state-is-active-coerce-to-string branch September 9, 2022 19:48
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