-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the QuestDocument
struct
#348
Comments
I am a Full Stack Developer with a strong background in blockchain and extensive experience in Next.js/React, TypeScript, and Rust. I’ve made over 49 contributions to over 17 projects in the OnlyDust ecosystem, solving complex issues and delivering efficient, scalable solutions. I can handle this task. |
Hello @Marchand-Nicolas, Can I contribute to this one? ETA is 1 day |
Let me handle this please. Will make PR in 15hrs. |
I'd love to give this a go. |
Hello Nico, I am a returning contributor to OnlyDust. I have previously completed several issues on a wide range of projects. The notable ones being kakarot and starknet.js. I will review and follow the community and contributing guidelines making sure the requirements are met properly. ETA: 1d |
Hi, May I take care of this? |
Can I attempt this issue? |
Would love to tackle this! |
Could I take over this issue? I will approach this issue by ensuring the data pipeline and UI are synchronized with the updated backend. First, after the backend team implements the new |
Let me try this one! My name is Gideon Bature, a Software Engineer with experience working with Rust and some of it's framework like Axum, Actix-web etc. I will love to complete this task, and if assigned will send my first PR within 48 hrs. Thank you! |
Hi, I am proficient Blockchain developer expert in Cairo , Rust and Solidity and also in web development. |
Can I tackle this one? |
Hello, StarknetQuest project maintainers! Over my years of experience, I have worked with tools like: Web3: Solidity and Rust Here is how I would solve this task:
I aim to complete this task within 48 hours being assigned and setting up my development environment, with my first pull request submitted before 24 hours have elapsed. I have an incredible work ethic and can deliver on this task. Thank you for the opportunity and I look forward to working with you. LET'S BUILD! 🚀 |
Hello! @Marchand-Nicolas |
I would like to work on this issue 1-In models.rs, I'll add a new Banner struct and include it as an optional field in QuestDocument: 2-In get_quest.rs, since the MongoDB pipeline is already set up correctly to fetch quest documents, the banner field will automatically be included in the response once we add it to the model. ETA : 1 day |
Description 📹
Update the
QuestDocument
struct insrc/models.rs
to include a new optionalbanner
field. Ensure that the new field is serialized and deserialized correctly, and updatesrc/endpoints/get_quest.rs
to return thebanner
object if it exists. Thebanner
object should have the following structure:Proposed Actions 🛠️
Here’s a checklist of actions to follow for resolving this issue:
Fork and Create Branch:
Fork the repository and create a new branch using the issue number:
Implement Changes:
Update the codebase with the following steps:
Modify the
QuestDocument
struct insrc/models.rs
to include the new optionalbanner
field:Update the
src/endpoints/get_quest.rs
file to ensure it properly fetches and returns the newbanner
field in API responses.If necessary, modify any other related files to ensure compatibility with the new structure.
Run Tests and Commit Changes:
Make sure your changes don't break existing functionality and commit with a clear message:
git commit -m "Fix: Add optional banner field to QuestDocument struct"
Required 📋
To keep our workflow smooth, please make sure you follow these guidelines:
Thank you for your contribution 🙏
The text was updated successfully, but these errors were encountered: