Skip to content

Move Runtime Events to runtime-types package#985

Merged
Milena-Czierlinski merged 10 commits intomainfrom
move-runtimeevents-to-runtimetypes
Mar 6, 2026
Merged

Move Runtime Events to runtime-types package#985
Milena-Czierlinski merged 10 commits intomainfrom
move-runtimeevents-to-runtimetypes

Conversation

@Milena-Czierlinski
Copy link
Member

@Milena-Czierlinski Milena-Czierlinski commented Mar 5, 2026

Readiness checklist

  • I added/updated tests.
  • I ensured that the PR title is good enough for the changelog.
  • I labeled the PR.
  • I self-reviewed the PR.

Description

This way it isn't necessary to import the whole runtime when only needing the definitions of the runtime events. The connector sdk e.g. already imports the runtime-types, so if it is used, no additional import of the runtime is necessary.

@Milena-Czierlinski Milena-Czierlinski added the refactoring Refactoring of code label Mar 5, 2026
@Milena-Czierlinski Milena-Czierlinski marked this pull request as ready for review March 5, 2026 14:41
Copy link
Member

@tnotheis tnotheis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regarding the file structure of the runtime-types: wouldn't it make more sense to group by component on top level and then by type (event/dto) instead of vice versa?

Here's what I'm thinking of:

runtimes-types
	consumption
		dtos
		events
	runtime
		dtos
		events
```

@Milena-Czierlinski
Copy link
Member Author

Regarding the file structure, I find it more intuitive this way. :)

tnotheis
tnotheis previously approved these changes Mar 6, 2026
@Milena-Czierlinski Milena-Czierlinski merged commit 6f5f45e into main Mar 6, 2026
15 checks passed
@Milena-Czierlinski Milena-Czierlinski deleted the move-runtimeevents-to-runtimetypes branch March 6, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring Refactoring of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants