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

access rule inside compact.group function #401

Open
vsnig opened this issue Feb 6, 2025 · 0 comments
Open

access rule inside compact.group function #401

vsnig opened this issue Feb 6, 2025 · 0 comments

Comments

@vsnig
Copy link
Contributor

vsnig commented Feb 6, 2025

To be consistent with other functions that we pass to rules (toUpdateRequest etc.) that have signature (uow, rule) => ... can we have similar signature for compact.group function?
Changing this:

    .group(rule.compact.group || ((uow) => uow.event.partitionKey))

to this:

    .group((uow) => rule.compact.group(uow, rule) || ((uow) => uow.event.partitionKey))
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

No branches or pull requests

1 participant