Closed amitksingh1490 closed 1 month ago
/bounty 25$
/attempt #2564
with your implementation plan/claim #2564
in the PR body to claim the bounty🙏 Thank you for contributing to tailcallhq/tailcall! 🧐 Checkout our guidelines before you get started. 💵 More about our bounty program.
Attempt | Started (GMT+0) | Solution |
---|---|---|
🔴 @Bhavyajain21 | Jul 28, 2024, 1:59:24 PM | WIP |
🟢 @laststylebender14 | Jul 28, 2024, 3:34:42 PM | #2566 |
/attempt #2564
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@Bhavyajain21 | 3 tailcallhq bounties + 11 bounties from 2 projects |
Rust, TypeScript, JavaScript & more |
Cancel attempt |
/attempt #2564
[!NOTE] The user @Bhavyajain21 is already attempting to complete issue #2564 and claim the bounty. We recommend checking in on @Bhavyajain21's progress, and potentially collaborating, before starting a new solution.
💡 @laststylebender14 submitted a pull request that claims the bounty. You can visit your bounty board to reward.
@Bhavyajain21: Reminder that in 1 days the bounty will become up for grabs, so please submit a pull request before then 🙏
@laststylebender14: You've been awarded a $25 bounty by tailcallhq! 👉 Complete your Algora onboarding to collect the bounty.
🎉🎈 @laststylebender14 has been awarded $25! 🎈🎊
Issue Description
The singularization process in the config generator is not working correctly in certain cases. For example, the field name
orderStatus
is being incorrectly converted toOrderStatu
instead ofOrderStatus
.Example:
Given the following configuration:
Current Behavior:
The generated GraphQL query incorrectly singularizes the type name:
Expected Behavior:
The singularization should correctly handle the field name: