Skip to content

Conversation

UseTheFork
Copy link
Collaborator

This PR includes:

Fixes:

  • A bug where a limit wasn't being applied. @pdphilip, there's one TODO left for InnerHits.
  • A bug where IDs were treated as integers instead of strings, though they are stored as keywords.

Adds:

  • A GitHub workflow that auto-applies Pint formatting to PRs.
  • A default pint.json file.
  • A docker-compose file for setting up Elasticsearch in dev when not using Nix.

@UseTheFork UseTheFork requested a review from pdphilip as a code owner April 17, 2025 14:51
@pdphilip
Copy link
Owner

@use-the-fork - Limit-based tests are great.

Inner hits hard limit has been set back to the original logic as per the commit message. In doing so, I also reset the two limit type methods from the query builder to see which of the tests would fail, but they are passing and seem to work as expected. Have a look to see if there's been an edge case missed somewhere. If so, please add it to the new limit tests so I can see it first-hand. Else GTG.

New add-ons are great!

@UseTheFork
Copy link
Collaborator Author

@pdphilip This looks good to me! I just tested as well and everything passed.

@pdphilip pdphilip merged commit 12789c6 into 5.x May 19, 2025
2 checks passed
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.

2 participants