tailcallhq / tailcall

High Performance GraphQL Runtime
https://tailcall.run
Apache License 2.0
1.19k stars 214 forks source link

chore: Parameterize `json_placeholder.rs` #2349

Open tusharmath opened 2 days ago

tusharmath commented 2 days ago

Make it work for both serde_json_borrow and ConstValue

tusharmath commented 2 days ago

/bounty 50$

algora-pbc[bot] commented 2 days ago

💎 $50 bounty • Tailcall Inc.

Steps to solve:

  1. Start working: Comment /attempt #2349 with your implementation plan
  2. Submit work: Create a pull request including /claim #2349 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 tailcallhq/tailcall! 🧐 Checkout our guidelines before you get started. 💵 More about our bounty program.

Attempt Started (GMT+0) Solution
🟢 @ssddOnTop Jul 4, 2024, 1:59:00 PM #2350
🔴 @db-keli Jul 4, 2024, 5:42:34 PM WIP
ssddOnTop commented 2 days ago

/attempt #2349

Algora profile Completed bounties Tech Active attempts Options
@ssddOnTop 50 tailcallhq bounties
Rust, Java,
C & more
Cancel attempt
algora-pbc[bot] commented 2 days ago

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

db-keli commented 2 days ago

/attempt #2349 To parameterize the json_placeholder.rs file and make it work for both serde_json_borrow::Value and ConstValue, I'll introduce a generic type parameter that represents the JSON value type. I'll create a trait that abstracts the common functionality needed from both serde_json_borrow::Value and ConstValue. I'll then implement the trait for both of them

algora-pbc[bot] commented 2 days ago

[!NOTE] The user @ssddOnTop is already attempting to complete issue #2349 and claim the bounty. We recommend checking in on @ssddOnTop's progress, and potentially collaborating, before starting a new solution.

algora-pbc[bot] commented 1 day ago

@db-keli: Reminder that in 1 days the bounty will become up for grabs, so please submit a pull request before then 🙏