juancastillo0 / leto

Dart GraphQL server libraries. Utilities, code generator, examples and reference implementation.
https://juancastillo0.github.io/leto/
MIT License
38 stars 6 forks source link

Allow primitive types to be overriden via customTypes #12

Closed warrenisarobot closed 1 year ago

warrenisarobot commented 1 year ago

Update leto_generator to only use default primitive type coercion if the type has not been defined in the generators customTypes options. This allows a customType to override the default primitive types.

This also updates the readme to show the options required for a build.yaml

juancastillo0 commented 1 year ago

This is great! Thanks for the PR, I will upload a new release later today after fixing the CI errors and updating some packages.