Giter VIP home page Giter VIP logo

Comments (4)

andevsoftware avatar andevsoftware commented on June 18, 2024

@Ashraf-Ali-aa. Sounds interesting, I'm not sure what your idea is. Could you give a more detailed example of what you have in mind?

from graphql-ide.

Ashraf-Ali-aa avatar Ashraf-Ali-aa commented on June 18, 2024

@olivierandriessen We got some Rest API and it's very tedious to modify the data for UI Automation due to heavily nested elements in the JSON. I was thinking of using GraphQL generate Mock JSON data, but in order to do that, we would require creating a GraphQL Scheme and populating the JSON with predefined data.

The predefined data would be scrapped off the JSON API when the GraphQL Scheme from the JSON and stored in a database, Also if we pass in a new URL to the tool which has the same GraphQL Scheme it would update the database with the new data from the API's. using this approach you could create an instant mock server using real data the could be manipulated using the GraphQL IDE

from graphql-ide.

Ashraf-Ali-aa avatar Ashraf-Ali-aa commented on June 18, 2024

@olivierandriessen I have found a better way to convert Rest Api's to GraphQl, but it would be use full in the IDE to import the GraphQl Schema via http url.
https://github.com/yarax/swagger-to-graphql

from graphql-ide.

andevsoftware avatar andevsoftware commented on June 18, 2024

@Ashraf-Ali-aa Although it sounds like a great solution for the problem your trying to solve, this goes beyond the scope of this application. In your last comment you mentioned you want to import the GraphQL schema using a http endpoint, this is where this app is for. If your GraphQL server complies to the GraphQL specification you should be able to use this app.

from graphql-ide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.