<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/">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 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"><div dir="ltr">On Fri, Oct 5, 2018 at 7:30 AM Doug Hellmann <<a href="mailto:doug@doughellmann.com">doug@doughellmann.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Gilles Dubreuil <<a href="mailto:gdubreui@redhat.com" target="_blank">gdubreui@redhat.com</a>> writes:<br>
<br>
>> About the micro version, we discuss with your team mate dmitry in <br>
>> another email [1]<br>
><br>
> Obviously micro version is a point of contention.<br>
> My take on this is because consuming them has been proven harder than <br>
> developing them.<br>
> The beauty of GraphQL is that there is no need to deal with version at all.<br>
> New fields appears when needed and old one are marked deprecated.<br>
<br>
How does someone using GraphQL to use a cloud know when a specific field<br>
is available? How can they differentiate what is supported in one cloud<br>
from what is supported in another, running a different version of the<br>
same service?<br>
<br>
Doug<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>