Skip to content

idea: use json-schema-to-ts in ajv plugin for ide schema suggestions #480

@dec0dOS

Description

@dec0dOS

Issue type

  • idea

First of all, I'd like to express my gratitude for sharing your work with the open-source community. The Qiwi Node.js packages and their maintainer, @antongolub, are truly hidden gems within the npm ecosystem. They offer packages with minimal dependencies and boast high-quality code.

I've been on the hunt for a reliable Node.js configuration library for quite some time now, but most of them don't quite meet my requirements.

It seems that Uniconfig might be a perfect fit for my needs. The only thing that's been on my mind is the potential to achieve type completion for the configuration file based on an ajv schema. I've come across the possibility of doing this with the help of https://github.com/ThomasAribart/json-schema-to-ts if the schema is defined within the code directly, rather than in the configuration file.

So, I was wondering if it's feasible to implement this feature in Uniconfig.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions