glideapps / glideapps/quicktype

Question: Support for JSON Schema `pattern` property

Open
#1,194 1 comment 23 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13.9k
Forks
1.2k
Avg merge
8h 53m
Merged PRs (30d)
369

Description

Hey, this looks like a great project and almost exactly what I'm looking for. The only missing feature I see (so far) is that we rely on[ JSON-Schema `pattern`](https://json-schema.org/understanding-json-schema/reference/regular_expressions.html) in our schemas and we'd love to include logic in the generated Javascript code.

So I have a couple questions to figure out next steps:
1. I couldn't find any reference in GH Issues, but is there any inkling of a plan to support JSON-schema `pattern`s?
2. In terms of code cleanliness, if I was to embark on the journey to get JSON-Schema `pattern` support as an Input source property would it be acceptible to ONLY wire that up for Javascript? Or when adding new Input source capabilities is it a requirement that I'd need to port that to all output formats?

Thanks and keep you the awesome work on this project! This could be a Rosetta stone for polyglot companies!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.