GithubHelp home page GithubHelp logo

Comments (6)

magicmatatjahu avatar magicmatatjahu commented on July 17, 2024

@jonaslagoni Maybe we should have originalInput next to originalSchema? I mean, if we will have processor for graphql data from SDL to JSON Schema, then finally we must process JSON Schema not SDL, so originalSchema should stay.

from modelina.

jonaslagoni avatar jonaslagoni commented on July 17, 2024

Agreed in many cases if ever passed through the JSON Schema input processor it would stay originalSchema.

However, if you provide another processor which does something completely different XML for example, it does not have to convert the XML into JSON for the JSON Schema input processor but can create the CommonModel representation itself.

Then originalSchema would not make sense since it would now be originalStructor or what ever you could call it. Therefore a more neutral name such as originalInput makes more sense IMO.

from modelina.

magicmatatjahu avatar magicmatatjahu commented on July 17, 2024

This is a one of POV, but here is also a question: why we want to processor xml in custom way, if we have possibility to change xml to json and then process it as JSON Schema? :) OriginalSchema/OriginalInput should be also useful to read it from code, using pure GraphQL or XML you haven't this option.

from modelina.

jonaslagoni avatar jonaslagoni commented on July 17, 2024

@magicmatatjahu XML is just an example, could by any type of input, with its own InputProcessor that does not use the JSON Schema simplifier. They could handle their own processing of transforming the input to CommonModels. Which means that OriginalSchema makes no sense.

from modelina.

github-actions avatar github-actions commented on July 17, 2024

This issue has been automatically marked as stale because it has not had recent activity 😴
It will be closed in 60 days if no further activity occurs. To unstale this issue, add a comment with detailed explanation.
Thank you for your contributions ❤️

from modelina.

asyncapi-bot avatar asyncapi-bot commented on July 17, 2024

🎉 This issue has been resolved in version 0.31.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

from modelina.

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.