[openstack-dev] [api] Open API 3.0 for OpenStack API
Jim Rollenhagen
jim at jimrollenhagen.com
Tue Oct 9 12:52:52 UTC 2018
On Mon, Oct 8, 2018 at 5:58 AM Gilles Dubreuil <gdubreui at redhat.com> wrote:
>
> On 05/10/18 21:54, Jim Rollenhagen wrote:
>
> GraphQL has introspection features that allow clients to pull the schema
> (types, queries, mutations, etc): https://graphql.org/learn/introspection/
>
> 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.
>
>
> 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.
>
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?
// jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20181009/8228ce3c/attachment.html>
More information about the OpenStack-dev
mailing list