<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, Oct 8, 2018 at 5:58 AM Gilles Dubreuil <<a href="mailto:gdubreui@redhat.com">gdubreui@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<br>
<div class="m_-1172696748629654197moz-cite-prefix">On 05/10/18 21:54, Jim Rollenhagen
wrote:<br>
</div>
<blockquote type="cite">
<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/" target="_blank">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></div></blockquote><div><br></div><div>It seems to me that a major goal of openstacksdk is to hide differences between clouds from the user. If the user is meant to use a GraphQL library themselves, we lose this and the user needs to figure it out themselves. Did I understand that correctly?</div><div><br></div><div>// jim</div></div></div>