Coder Social home page Coder Social logo

Comments (3)

nschejtman avatar nschejtman commented on July 18, 2024

Hi @deiteris

unless it applies on some transformation stage

That is exactly what we do.

If you are using the raw model not only you won't get RecursiveShapes but you might also get links. Some reference we can resolve during parsing but others will be parsed as links that should be resolved in transformation.

Not sure what is your use case but you can consider having a custom pipeline that handles just the things you need

from amf.

deiteris avatar deiteris commented on July 18, 2024

Hi @nschejtman. I see... My use case is a custom renderer from RAML, so I only need to read the model. Probably would be nice if I could have a custom pipeline step to detect and make such RecursiveShape before my custom code (in fact, I've already done recursion detection so I check them as I traverse). But is it possible to do in Javascript already? I see the documentation mentions that it's only for Scala and Java.

from amf.

tomsfernandez avatar tomsfernandez commented on July 18, 2024

Hi @deiteris, unfortunately it is only for Scala and Java at the moment. You can create an issue as an enhancement request if you want. I don't know if we will be able to give it priority but at least it will be created.

If you do so, please create it as another github issue. With this comment, I'm closing the issue. Thanks!

from amf.

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.