Skip to content

Allow declaring directory for generated files #312

@tomwyr

Description

@tomwyr

objectbox-model.json and objectbox.g.dart are generated in lib directory and there's no way of changing it which is inconvenient if you follow some pattern when structuring your project files. Allow ObjectBox users to adjust it in build.yaml configuration e.g.:

targets:
  $default:
    builders:
      objectbox:
        options:
          output_dir: lib/generated/or/wherever/you/want/it/to/be

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions