tailcall
tailcall copied to clipboard
refactor: re-write `gen_gql_schema.rs`
Current implementation takes a schemars and directly writes a .graphql file. The expectation is to create a async_graphql::ServiceDocument
and then leverage the crate::document::print
to print it.
Expectations
- Rewrite the module to create a
ServiceDocument
and usedocument::print
to print it. - Drop all the
write!
calls fromgen_gql_schema.rs
- Split the large file into smaller logical files that's easy to understand.
- Write documentation for different files and modules created.
- Make sure the final generated file doesn't change.
/bounty 250$
💎 $250 bounty • Tailcall Inc.
Steps to solve:
-
Start working: Comment
/attempt #1510
with your implementation plan -
Submit work: Create a pull request including
/claim #1510
in the PR body to claim the bounty - 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 |
---|---|---|
🟢 @harshbisle | Mar 19, 2024, 3:34:45 PM | WIP |
🔴 @benya9 | May 15, 2024, 8:36:04 AM | WIP |
🔴 @Sambit003 | May 18, 2024, 8:16:25 AM | WIP |
🔴 @snigdha510 | May 22, 2024, 5:02:36 AM | WIP |
🔴 @asr2003 | May 22, 2024, 6:34:39 AM | WIP |
🟢 @bnchi | #2297 |
/attempt #1510
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@harshbisle | 5 bounties from 2 projects | TypeScript, HTML, JavaScript & more |
Cancel attempt |
@harshbisle Go for it.
@harshbisle Go for it.
On it!
@tusharmath, we have a limitation, though: our From<Config> for ServiceDocument
accounts only for filled fields.
I see two ways we can go for this:
- Write a new version accounting for the empty fields to generate the
.graphql
based on theServiceDocument
- Fill all the fields so we have the filled version and can quickly run
.to_sdl()
The second option looks the worst to me as every new field would require changing the "mock" values, which is sort of what we do today (when adding directives). Let me know if 1. makes sense or if you have any other ideas to accomplish this.
No one assigned. Can i work on it?
[!NOTE] The user @harshbisle is already attempting to complete issue #1510 and claim the bounty. We recommend checking in on @harshbisle's progress, and potentially collaborating, before starting a new solution.
[!NOTE] The user @harshbisle is already attempting to complete issue #1510 and claim the bounty. We recommend checking in on @harshbisle's progress, and potentially collaborating, before starting a new solution.
@Sambit003: Reminder that in 1 days the bounty will become up for grabs, so please submit a pull request before then 🙏
/attempt #1510
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@snigdha510 | Jupyter Notebook, JavaScript, CSS & more |
Cancel attempt |
[!NOTE] The user @harshbisle is already attempting to complete issue #1510 and claim the bounty. We recommend checking in on @harshbisle's progress, and potentially collaborating, before starting a new solution.
@snigdha510: Reminder that in 1 days the bounty will become up for grabs, so please submit a pull request before then 🙏
@asr2003: Reminder that in 1 days the bounty will become up for grabs, so please submit a pull request before then 🙏
@harshbisle I'm interested in this project and I see that it hasn't been completed yet. Let me know if you're open to collaboration. Otherwise, as there's nobody assigned to this, I'd like to just get started. Thanks
Is this resolved ?
I am interested in doing this. Please confirm whether this is still up for grabs or not (given it has been 3 months this issue was opened and a month since a PR was created)
💡 @bnchi submitted a pull request that claims the bounty. You can visit your bounty board to reward.
@bnchi: You've been awarded a $250 bounty by tailcallhq! 👉 Complete your Algora onboarding to collect the bounty.