Fork me on GitHub
#pathom
<
2019-06-16
>
souenzzo16:06:47

I'm trying to resolve [{[:user/id 0] [:user/id #:user{:friends 4}]}] but i'm getting "class java.lang.IllegalArgumentException: Don't know how to create ISeq from: java.lang.Long". Recursive queries isn't supported?

Chris O’Donnell18:06:58

That doesn't look like a proper query to me. What's the shape of data you're looking to get back?

Chris O’Donnell18:06:22

FYI: You're getting that exception because it expects a subquery (which would need to be a sequence) and is getting 4.

souenzzo18:06:24

It's a valid query for #fulcro and #datomic It means that I wanna recur 4 times over the "current" query on pathom<>graphql example, there is a Recursive example that shows that notation

Chris O’Donnell18:06:13

My mistake, then. Thanks for enlightening me!