Building a GraphQL Mutation from XML or JSON ?

Five Stars

Building a GraphQL Mutation from XML or JSON ?

I need to send data to an API using a GraphQL Mutation. My data resides in database tables. Is there a standard way of doing it?

 

The structure would be nested like the following:

-------------------------------------

Entity

   - ID

   - Address (loop)

      -- City

      -- Country

      -- State

   - Contact (loop)

      -- Email

      -- Phone

------------------------------------

 

should i start building a JSON in certain way and build from there somehow? knowing that GraphQL is similar to JSON but not identical.

 

 

 

 

Employee

Re: Building a GraphQL Mutation from XML or JSON ?

Hi,

 

   I could see a similar post marked as resolved below.

 

https://community.talend.com/t5/Design-and-Development/GraphQl-in-Talend/td-p/166047

 

   Could you please check the details?

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved

Five Stars

Re: Building a GraphQL Mutation from XML or JSON ?

Thanks for the link but it was about a very simple case.
I updated the main post with the structure that i wanted to load which would have nested columns.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch