gcanti / gcanti/io-ts-codegen

Dealing with imports and metadata

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
159
Forks
14
PR merge metrics
No merged PRs in 30d

Description

How do I pass external imports and metadata through the combinators? At the moment I use external lookup tables and collect this information through side effects. I also had to do `gen.printRuntime(d).replace(/\ninterface /, '\nexport interface ')` to export the brands since exporting them seemed to be necessary for things to work.

I'm trying to build a JSON Schema converter. An early development version of the converter is available at https://github.com/maasglobal/maas-schemas-ts/blob/master/converter.ts

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.