8000 fix(dsl): manually align field mapping operations to allow aggregate functions execution in mappings. Fixes #960 by DanySK · Pull Request #961 · Collektive/collektive · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(dsl): manually align field mapping operations to allow aggregate functions execution in mappings. Fixes #960 #961

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DanySK
Copy link
Contributor
@DanySK DanySK commented May 4, 2025

Closes #960

@DanySK DanySK added the auto-update-rebase Mergify will try to update with rebase label May 4, 2025
@DanySK DanySK enabled auto-merge (squash) May 4, 2025 10:05
@DanySK DanySK disabled auto-merge May 4, 2025 10:05
@DanySK DanySK requested review from Copilot, nicolasfara and cric96 May 4, 2025 10:05
Copy link
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an issue with aggregate functions by manually aligning field mapping operations, ensuring that the transformation functions execute correctly. Key changes include wrapping the transformation function calls with context.alignedOn in various mapping methods, modifying the AbstractField, ArrayBasedField, SequenceBasedField, and ConstantField classes accordingly.

@DanySK
Copy link
Contributor Author
DanySK commented May 4, 2025

@nicolasfara if you approve, enable auto-merge. I disabled it for now. See #960.

@DanySK DanySK force-pushed the fix/dsl/manuallyalignfieldmappingoperati branch from a5a0cd5 to 6f2d19b Compare May 4, 2025 10:45
@nicolasfara nicolasfara enabled auto-merge (squash) May 4, 2025 10:47
@DanySK DanySK force-pushed the fix/dsl/manuallyalignfieldmappingoperati branch 2 times, most recently from 8f7e1e3 to 2aaae7b Compare May 5, 2025 14:12
DanySK and others added 2 commits May 6, 2025 12:49
…gate/Field.kt

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@DanySK DanySK force-pushed the fix/dsl/manuallyalignfieldmappingoperati branch from 2aaae7b to 0065178 Compare May 6, 2025 12:49
< 7A4F a rel="nofollow" class="btn btn-primary" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"signed out comment","repository_id":575470747,"auth_type":"SIGN_UP","originating_url":"https://github.com/Collektive/collektive/pull/961","user_id":null}}" data-hydro-click-hmac="566ecae2a550164adf4ce57f1c589afe8a90fb507e19f7082888c863195c71e1" href="/join?source=comment-repo">Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-update-rebase Mergify will try to update with rebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Aggregate functions should be executable as part of field-mapping operations
2 participants
0