Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow dev to disable certain code generation #6

Open
pauldemarco opened this issue Jul 25, 2019 · 1 comment
Open

Allow dev to disable certain code generation #6

pauldemarco opened this issue Jul 25, 2019 · 1 comment

Comments

@pauldemarco
Copy link
Owner

pauldemarco commented Jul 25, 2019

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
@pdf
Copy link

pdf commented Jan 28, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants