glideapps / quicktype

Generate types and converters from JSON, Schema, and GraphQL

Home Page:https://app.quicktype.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider protected emitPackageDefinitions in GoRenderer

adatzer opened this issue · comments

Hello and thanks for quicktype!

Currently emitPackageDefinitions is private. It would be great if types that extend GoRenderer were able to override emitPackageDefinitions in order for example to extend go imports.

Happy to submit a PR if this is something you'd consider.

Hi @adatzer , if this is still an issue for you - we'd be happy to accept a PR that updates this