ManifestM
Manifestβ€’6mo ago
fedehusk

Entity definitions in separate YML files

Hi, I'd like to propose a solution that allows for defining entities in separate files.

In this case, the manifest.yml file would have a structure like:
### manifest.yml
name: Example App
entities:
  User:
    properties:
      - name
      # ...

extend:
  - entities/Language.yml

### entities/Language.yml
Language:
  properties: #...


What do you think, does it make sense? I'd find it useful, as building a single file for multiple entities, often with comments, is a bit pointless for me.
Was this page helpful?