Skip to content

New draft.yaml syntax - config #529

@benjam-es

Description

@benjam-es

Synopsis:

As a further improvement to the configurability of the package, we could simplify things for those who want to make single simple changes to the configuration often, without needing to publish the full config file and make an edit, then re-run the build command

Proposed Syntax:

models:
  ModelOne:
    column: datatype modifier

  ModelTwo:
    column: datatype
    another_column: datatype modifier

config:
    namespace: MyAppNamespace
    generatePhpdocs: true

Expected Behavior:

Streamline the process for users who often just need simple tweaks. Also provides a visual reference of changes users want with a specific draft file.

This would read the tree for config, and merge the config overrides from the draft yaml file

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions