Skip to content

Conversation

thomasjm
Copy link
Contributor

Heard there was a major release cycle coming :).

This would resolve #491.

Note: I used an unsafeCoerce to implement these. I think it's fine and the tests pass, but maybe there's a nicer way to wrangle the types here?

@LaurentRDC
Copy link
Member

I'm sorry @thomasjm, I wasn't able to figure out what's missing to make the types fit. I'm not super familiar with this mechanism.

Good news is that since you have tests, I'm not worried about merging this PR. Would you mind adding a comment near the uses of unsafeCoerce to point to this discussion? Maybe we'll get to fix it at a later time

@thomasjm thomasjm force-pushed the limit-offset-maybe branch from dc6d15e to deb5d2d Compare June 19, 2025 10:12
@thomasjm
Copy link
Contributor Author

Thanks @LaurentRDC -- just added those comments and rebased on master.

@LaurentRDC
Copy link
Member

Thanks!

@LaurentRDC LaurentRDC merged commit 704d864 into haskell-beam:master Jun 19, 2025
11 checks passed
@LaurentRDC
Copy link
Member

I should be able to make a new release today

@LaurentRDC
Copy link
Member

Released in beam-core 0.10.4.0! Thanks for your contribution

@thomasjm
Copy link
Contributor Author

Thank you! I was just working on another one I was hoping you could take a look at: #534

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

It is very non-obvious how to apply limit/offset/order conditionally
3 participants