glideapps / quicktype

Generate types and converters from JSON, Schema, and GraphQL
https://app.quicktype.io
Apache License 2.0
11.77k stars 1.04k forks source link

refactor: Split monolithic language files into dirs with component files #2564

Closed inferrinizzard closed 1 month ago

inferrinizzard commented 2 months ago

Description

Splits up singular files for each language into dirs with the following structure:

Motivation and Context

This change helps to break down these previously huge files into smaller chunks that are easier to isolate and grok while working on a particular language. Additionally help to improve performance for linting and formatting threads.

C++ and CJSON are still very large so could use additional refactor work there

Previous Behaviour / Output

Before: image

New Behaviour / Output

After: image

How Has This Been Tested?

Builds and tests still pass 👍

Screenshots (if appropriate):