gnomad-browser icon indicating copy to clipboard operation
gnomad-browser copied to clipboard

Evaluate Quicktype for converting JSON into type safe code

Open mattsolo1 opened this issue 3 years ago • 1 comments

mattsolo1 avatar Jul 19 '22 14:07 mattsolo1

Made a rough demo of how quicktype could be used to create types for API responses: PR https://github.com/broadinstitute/gnomad-browser/pull/954

Here is an example of the autogenerated output for the variant page: https://github.com/broadinstitute/gnomad-browser/blob/9b4f788e3c398a0cc2be3c2d8351c7fe28f5f5aa/browser/typing/types/generated/VariantDetailResponseV312.ts

mattsolo1 avatar Jul 25 '22 19:07 mattsolo1