Hi Mark,

yes, this is known as the IntrospectionQuery, and the GraphQL editor that we are using in TopBraid runs such a query at launch time.

You can see one version of that query here:

https://stepzen.com/blog/caching-graphql-introspection-query-in-cdn

and GraphiQL uses it to provide auto-complete and other features.

Holger


On 2022-05-07 12:09 am, Mark Wood wrote:
Following up on this thread, for our application it might be useful for us to be able to export the full schema, for usage by another tool.
Is there a way programmatically to export/view the schema?

On Monday, August 30, 2021 at 7:47:09 AM UTC-4 Irene Polikoff wrote:


    To get to the integrated GraphiQL query editor, go to your
    Taxonomy in EDG and then click on Export -> GraphQL Query.

    On Aug 30, 2021, at 2:16 AM, Holger Knublauch
    <[email protected]> wrote:

    

    Hi Sanjeev,

    these are GraphQL schemas, and you can use external GraphQL tools
    to view them. In particular, the GraphiQL editor that is
    integrated with TopBraid has a Documentation tab (on the upper
    right) that allows you to see the technical details. For example

    <khghhjkeockpfmon.png>

    This tool is also quite popular:
    https://apis.guru/graphql-voyager/ but you need to understand
    that GraphQL uses so-called introspection queries to drive such
    interfaces. I have just run this on the Geography taxonomy - I
    leave it to your judgement whether this is a sensible display here:

    <jnhclaajelfchomm.png>

    Usually there is no need to see the whole schema. Many people
    learn about what's available by simply starting with an empty
    query such as { } and then use auto-complete to see what's available:

    <ecbdbhlgekjakoej.png>

    HTH

    Holger


    On 2021-08-30 4:02 pm, [email protected] wrote:
    Hi,
      From the following TopQuadrant documentation,
    https://www.topquadrant.com/technology/graphql/ , I understand
    that the "Query schemas for use with GraphQL are automatically
    generated from the data models". Now my question is that how to
    view those Query schemas of a Concept/Taxonomy in TopBraid EDG
    user interface(UI)? Could someone please help to understand that?


    Thanks,
    Sanjeev

-- You received this message because you are subscribed to the
    Google Groups "TopBraid Suite Users" group.
    To unsubscribe from this group and stop receiving emails from
    it, send an email to [email protected].
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/topbraid-users/e529e304-68eb-494d-9246-7b18254e0e6cn%40googlegroups.com
    
<https://groups.google.com/d/msgid/topbraid-users/e529e304-68eb-494d-9246-7b18254e0e6cn%40googlegroups.com?utm_medium=email&utm_source=footer>.
-- You received this message because you are subscribed to the
    Google Groups "TopBraid Suite Users" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to [email protected].
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/topbraid-users/98a5117a-c8bc-3f6d-b46b-fb24a3902186%40topquadrant.com
    
<https://groups.google.com/d/msgid/topbraid-users/98a5117a-c8bc-3f6d-b46b-fb24a3902186%40topquadrant.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/47200db6-7b0e-4dae-aeb8-7242481f68e6n%40googlegroups.com <https://groups.google.com/d/msgid/topbraid-users/47200db6-7b0e-4dae-aeb8-7242481f68e6n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "TopBraid 
Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/ff8a345b-3d94-b871-dd3d-2ec55ece34c3%40topquadrant.com.

Reply via email to