Jump to content

cacique

Clients
  • Posts

    6
  • Joined

  • Last visited

Reputation Activity

  1. Thanks
    cacique reacted to Rikki in Introducing GraphQL for Invision Community   
    Woohoo 🎉 It's nice to see this become public after a long time being an internal tool.
    Given one of the big selling points is the type system, it would make sense for you to include the type of each field in the documentation. Personally I wouldn't even bother hand-rolling documentation - let a tool parse the schema and just make the output available to developers (and include docs on using Graphiql GUI tool too). The docs you've put together are losing the inherent relationships that GraphQL has; I think it'd be frustrating to use them as a reference (for example, here's the query to get a club, but it doesn't tell you what fields are returned, what types they are, if they have sub-fields etc.)
    When I worked on customer sites at IPS I spent a lot of effort trying to query stuff in Pages blocks using raw PHP blocks and the IPS framework. Being able to write a GraphQL query to fetch everything I needed would have been great.
×
×
  • Create New...