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

Support multiple .kt files for protocol types based on meta/type #146

Open
jangalinski opened this issue Sep 19, 2024 · 0 comments
Open
Assignees
Labels
Prio: SHOULD Feature is essential for the next release Type: enhancement New feature or request
Milestone

Comments

@jangalinski
Copy link
Contributor

Currently we create all types (data classes, value classes, enums and exceptions) contained in a protocol declaration in a single file (protocol-types.kt).
For better readability and to prepare separation of concerns for command- and query side, it would be nice to have multiple files (*-events.kt, *-commands.kt, *-queries.kt, ...).

This can be done by using a fileSpecList strategy and splitting the different types using the meta properties.

@jangalinski jangalinski added Prio: SHOULD Feature is essential for the next release Type: enhancement New feature or request labels Sep 19, 2024
@zambrovski zambrovski added this to the 0.0.1 - MVP milestone Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prio: SHOULD Feature is essential for the next release Type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants