Skip to content

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*)

3 participants