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

Bug Fix for istrue & isfalse utility function #1099

Merged
merged 2 commits into from
Mar 17, 2024

Conversation

JosephVoid
Copy link
Contributor

@JosephVoid JosephVoid commented Mar 11, 2024

Closes #806

What has been done to verify that this works as intended?

I have ran make test-unit and all the test passed

Why is this the best possible solution? Were any other approaches considered?

It was the most straight forward solution. No other approaches were needed, just letting the function consider string only

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

It doesn't affect much, the function now is doing what is was supposed to do, which is check for string types only.

Does this change require updates to the API documentation? If so, please update docs/api.md as part of this PR.

No

Before submitting this PR, please make sure you have:

  • run make test and confirmed all checks still pass OR confirm CircleCI build passes
  • verified that any code from external sources are properly credited in comments or that everything is internally sourced

+ when a number is ecountered isTrue and isFalse return error
+ now fixed
Copy link
Member

@matthew-white matthew-white left a comment

Choose a reason for hiding this comment

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

Thank you, @JosephVoid!

@matthew-white matthew-white merged commit 3420238 into getodk:master Mar 17, 2024
1 check passed
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.

isFalse() and non-string query parameters
2 participants