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

Modules should support . placeholder #166

Open
rainerhahnekamp opened this issue Nov 30, 2024 · 0 comments
Open

Modules should support . placeholder #166

rainerhahnekamp opened this issue Nov 30, 2024 · 0 comments
Assignees
Labels

Comments

@rainerhahnekamp
Copy link
Collaborator

rainerhahnekamp commented Nov 30, 2024

Modules usually have just one feature or a special API folder which is exposed to the outside. So we want to have a nested structure like:

holidays:
  - holiday.ts
  - ui
    - ui1.ts
    - ui2.ts
  - model
    - holiday-model.ts
    - countries.ts
  - internal
    - holiday.logic.ts

In this scenario, assigned tags to holiday.ts is complicated:

{
  modules: {
    'holidays': ['domain:holidays', 'type:feature'],
    'holidays:<type>': ['domain:holidays', 'type:<type>'],
  }
}

It would be much better, if we could

{
  modules: {
    'holidays': {
      '.': ['domain:holidays'],
      '.': ['domain:holidays', 'type:<type>'],
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant