Closed Baxxx closed 5 days ago
In ruby:
[nil].any? #=> false [false].any? #=> false
When sending [nil] to load_all, it was making the source think that there are no pending keys, and raised GraphQL::InvariantError.
Thanks for this fix! I have a Rubocop rule that checks for .none? for the same reason, I'm going to update it to also check for .any?.
.none?
.any?
In ruby:
When sending [nil] to load_all, it was making the source think that there are no pending keys, and raised GraphQL::InvariantError.