auto_data icon indicating copy to clipboard operation
auto_data copied to clipboard

Allow dev to disable certain code generation

Open pauldemarco opened this issue 6 years ago • 1 comments

Use the build.yaml options section to disable certain generation from the tool.

For instance, users who do not need Firebase to/from can disable it by adding it like so:

targets:
  $default:
    builders:
      auto_data:
        options:
          create_firebase: false
          create_json: false

pauldemarco avatar Jul 25 '19 01:07 pauldemarco

Should this be in the builder options for global control, or the @data annotation for per-model control, or both?

pdf avatar Jan 28 '20 06:01 pdf