spaceandtimelabs / sxt-proof-of-sql

Space and Time | Proof of SQL
Other
1.59k stars 71 forks source link

Remove `query!` macro. #236

Open JayWhite2357 opened 2 weeks ago

JayWhite2357 commented 2 weeks ago

Background and Motivation

Rust macros are a bit of a anti-pattern. In particular, the query! macro, which is used as a testing utility macro to test QueryExpr, obfuscates the tests.

Changes Required

NOTE: the macro is almost exclusively a macro that builds the query text. The actual functionality being tested should be essentially unchanged.

JayWhite2357 commented 1 week ago

/bounty $50

algora-pbc[bot] commented 1 week ago

💎 $50 bounty • Space and Time

Steps to solve:

  1. Start working: (Optional) Comment /attempt #236 with your implementation plan. Note: we will only assign an issue if you include an implementation plan with a time estimate. Additionally, to be assigned an issue, you must have previously contributed to the project. You can still work on an issue and submit a PR without being assigned.
  2. Submit work: Create a pull request including /claim #236 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to spaceandtimelabs/sxt-proof-of-sql!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @Harsh9485 Oct 15, 2024, 10:33:45 AM #285
🟢 @akhilender-bongirwar #284
Harsh9485 commented 6 days ago

/attempt #236

algora-pbc[bot] commented 1 day ago

💡 @akhilender-bongirwar submitted a pull request that claims the bounty. You can visit your bounty board to reward.

algora-pbc[bot] commented 20 hours ago

💡 @Harsh9485 submitted a pull request that claims the bounty. You can visit your bounty board to reward.