pathom

Josh Wood 2025-07-22T16:36:16.121769Z

Does anyone here use Pathom to interface with GraphQL backends? I'm using Pathom2 to try and query Github's GQL API and I've been on the struggle bus for the past couple of days. I figured I'd ask.

Josh Wood 2025-07-22T16:37:09.529239Z

Here is the graphql query I'd like to translate.

{
 repository(owner: "fulcrologic", name: "fulcro") {
  object(expression: "main:") {
   ... on Tree {
    id
    entries {
     oid
     path
     type
     name
    }
   }
  }
 }
}

Josh Wood 2025-07-22T16:39:59.248909Z

Here is the ident-map as well:

::pcg/ident-map 
{"repository" {"owner" :github.repository/owner
               "name"  :github.repository/name}
 "object"     {"expression" :github.object/expression}}
I'm able to return data from 'repository' and 'object', but I'm confused on how to translate the '... on Tree' line into an EQL query that Pathom understands.