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

fix: references is not iterable / cant parse expect(findBy*) #50

Merged
merged 1 commit into from
Dec 10, 2019

Conversation

thomaslombart
Copy link
Collaborator

The bug was caused by the fact that when a query is wrapped into a function, it is not referenced in the getDeclaredVariables call making the references equal to false.
It caused the references check to be false, to enter the else statement and thus trying to iterate over a false value.

Closes #48.

The bug was caused by the fact that when a query is wrapped into a function
It is not referenced in the getDeclaredVariables call making the references equal to false.
It caused the references check to be false, to enter the else statement and thus trying to iterate over a false value.
@thomaslombart thomaslombart self-assigned this Dec 10, 2019
@Belco90 Belco90 merged commit ea8816c into master Dec 10, 2019
@Belco90 Belco90 deleted the fix/references-not-iterable branch December 10, 2019 09:10
@Belco90
Copy link
Member

Belco90 commented Dec 10, 2019

🎉 This PR is included in version 1.3.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: references is not iterable / cant parse expect(findBy*)
2 participants