Skip to content

Add union types for generic relations#280

Merged
bastianjoel merged 8 commits into
OpenSlides:feature/votefrom
bastianjoel:dsmodels-generic-relations
Jun 12, 2026
Merged

Add union types for generic relations#280
bastianjoel merged 8 commits into
OpenSlides:feature/votefrom
bastianjoel:dsmodels-generic-relations

Conversation

@bastianjoel

@bastianjoel bastianjoel commented Jun 9, 2026

Copy link
Copy Markdown
Member

This PR adds support for preloading of generic relations. This is mainly needed for preloading poll configs in the projector service.
Therefore those kind of relations come with the limitation that chaining is not supported. Also lists are not supported.
With those changes generic list relations should also be easy to add. However - I do not see any use case for that right now.

@bastianjoel bastianjoel self-assigned this Jun 9, 2026
@bastianjoel bastianjoel requested a review from ostcar June 10, 2026 09:27
@bastianjoel bastianjoel marked this pull request as ready for review June 10, 2026 09:28
@bastianjoel bastianjoel removed their assignment Jun 10, 2026

@ostcar ostcar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I can not say, that I get it. But looks good for me.

@bastianjoel bastianjoel merged commit dee9435 into OpenSlides:feature/vote Jun 12, 2026
2 of 3 checks passed
@bastianjoel bastianjoel deleted the dsmodels-generic-relations branch June 12, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants