Code Monkey home page Code Monkey logo

Comments (3)

uncenter avatar uncenter commented on August 26, 2024

as well as the schemas falling behind the newest changes

I'm not sure if you meant to phrase it like this but the schemas are and have been update to date with the latest version for a while now. There is a brief delay when a new version is release where i have to update the schemas but this is usually resolved within a day - there are no outstanding issues with the schema at the moment.

I would like to propose an approach where the schemas are generated automatically.

Sure! schemars looks okay, @sxyazi do you think that is something we can consider? We should transfer this issue over to the main repository if so. I'm curious how the size compares though? These schemas are pretty refined and reuse a lot of shared types and definitions, not sure how complex of conditions it can handle. Also for the record I don't think this solves our versioning issues?

from schemas.

mikavilpas avatar mikavilpas commented on August 26, 2024

Oh, sorry if it came off badly - I have had 0 issues with yazi's schemas myself. I no longer remember what I meant, but maybe it's not that important.

If the current way of updating works - great 👍🏻. If this suggestion seems worth trying, great too 🙂

I don't think this solves our versioning issues?

I think you're correct - one schema applies for one version as far as I am aware.

Right now I think yazi has a latest stable release as well as a constantly changing bleeding edge. As long as the latest release is bound to either a git tag or branch, the schema's url in the configuration file can point to that and it should stay up to date.

not sure how complex of conditions it can handle

Hmm this is a good point. The schemas I worked on for presenterm were quite simple. Maybe a small proof-of-concept could be a good idea.

from schemas.

uncenter avatar uncenter commented on August 26, 2024

I don't think this solves our versioning issues?

I think you're correct - one schema applies for one version as far as I am aware.

Right now I think yazi has a latest stable release as well as a constantly changing bleeding edge. As long as the latest release is bound to either a git tag or branch, the schema's url in the configuration file can point to that and it should stay up to date.

I believe I mentioned branching/tagging in #17 but for some reason we didn't land on it. Anyway, sure yeah that sounds doable.

not sure how complex of conditions it can handle

Hmm this is a good point. The schemas I worked on for presenterm were quite simple. Maybe a small proof-of-concept could be a good idea.

Definitely, would appreciate that!

from schemas.

Related Issues (10)

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.