Skip to content

Conversation

@hippiehunter
Copy link
Contributor

This PR adds limited support for aggregate odata operations. This is incomplete and requires CLI tool changes to deal with an added dependency. It turns out the stock OData libraries cant serialize an aggregate response and we have to add a newtonsoft json helper library and call to set that up instead of the existing call to configure newtonsoft json during mvc startup.

Copy link

@blieber1 blieber1 left a comment

Choose a reason for hiding this comment

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

Looks good to me! 👍

@Don-Fillion
Copy link

Don-Fillion commented Oct 24, 2025 via email

@blieber1
Copy link

Even though this isn't considered core OData functionality, it seems like a no brainer as it unlocks powerful query capabilities for Harmony integrations. Thank you for adding this. 🙌

@blieber1
Copy link

@hippiehunter Any ETA of when this will get merged and deployed?

@hippiehunter
Copy link
Contributor Author

sometime this week

@matt-canaday
Copy link

This looks like GroupBy was added in this PR and we are excited to try this out. Are there plans to also add Sum, Avg, Min and Max? Those are the 4 aggregators that we would need for most use cases.

@hippiehunter
Copy link
Contributor Author

this includes a test for sum, but it wasnt specifically coded for sum. It should cover the full range of standard mathy aggregate functions

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.

5 participants