mtth / avsc

Avro for JavaScript :zap:
MIT License
1.27k stars 147 forks source link

Support generating avro schema from typescript type definitions #377

Closed lewispham closed 2 years ago

lewispham commented 2 years ago

As I can see from arvo schema then most of its type definitions can be reflected from typescript type definitions. Other libraries often use reflect-metadata or ts-morph for the task. I think avsc will be ways more useful if it supports similar stuffs.

mtth commented 2 years ago

Hi @lewispham. This sounds useful but out of scope for this repo. It'd also be cleaner to have this functionality separate from the core.