<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-cite-prefix">On 05/10/18 21:54, Jim Rollenhagen
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJCXu8dQkW1HTL5KD_+BxmnTwaUhDYiU4Qji=mLwGsyBd43juA@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr">GraphQL has introspection features that allow
          clients to pull the schema (types, queries, mutations, etc): <a
            href="https://graphql.org/learn/introspection/"
            moz-do-not-send="true">https://graphql.org/learn/introspection/</a></div>
        <div dir="ltr"><br>
        </div>
        <div dir="ltr">That said, it seems like using this in a client
          like OpenStackSDK would get messy quickly. Instead of asking
          for which versions are supported, you'd have to fetch the
          schema, map it to actual features somehow, and adjust queries
          based on this info.</div>
        <div dir="ltr"><br>
        </div>
      </div>
    </blockquote>
    <br>
    A main difference in software architecture when using GraphQL is
    that a client makes use of a GraphQL client library instead of
    relaying on a SDK.<br>
    <br>
    <br>
    <blockquote type="cite"
cite="mid:CAJCXu8dQkW1HTL5KD_+BxmnTwaUhDYiU4Qji=mLwGsyBd43juA@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr">I guess there might be a middleground where we
          could fetch the REST API version, and know from that what
          GraphQL queries can be made.<br clear="all">
          <div>
            <div dir="ltr" class="gmail_signature"><br>
              // jim</div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote"><br>
      </div>
    </blockquote>
  </body>
</html>