-
Notifications
You must be signed in to change notification settings - Fork 75
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
Fix all typescript warnings and errors generated by type mismatching on the ConfigService.get(<envName>)
method in test specs
#3142
Comments
Hi! Could you please assign this issue to me? I'd love to work on it. |
Hi @Mrinank-Bhowmick, thanks a lot for taking the initiative! I’ve assigned the ticket to you and updated the issue with more detailed guidelines. Welcome and happy coding! |
@Mrinank-Bhowmick Just a couple of suggestions from an offline sync-up with @natanasow:
Please let me know if you need any support getting started on the issue or during development. We’re happy to assist! |
After reviewing the requirements for this issue, I've realized I'm not able to take it on at this time. I'm unassigning myself to allow others to work on it. |
Thanks @Mrinank-Bhowmick! |
@quiet-node I will like to work on this issue. |
Hi @quiet-node and @Nana-EC, I’d like to request permission to work on [Issue #3142](#3142), which focuses on fixing TypeScript warnings and errors related to type mismatches in I’ve reviewed the issue details and understand that it involves identifying and resolving type inconsistencies in the test specs by refactoring test cases for type alignment. Please let me know if I can take this on or if there are any specific guidelines you’d like me to follow while working on this. Looking forward to your feedback! Best regards, |
Hi @belloibrahv I apologize for the delayed response; I completely overlooked this. Really appreciate your initiative! I've assigned you to the ticket. I believe you're on the right track. Here’s a helpful reference for the solution: #3142 (comment) |
OK, @quiet-node thanks for assigning the issue to me, currently looking into it 🚀 |
Hi @quiet-node @natanasow, I noticed the 'NON_EXISTING_VAR' does not exist in the |
I hope this message finds you well. I’m currently working on the issue #3142 ( While committing and signing off my changes, I encountered several linter errors during the build-and-test process. These errors seem unrelated to the code changes I’ve made, as they primarily point to existing issues in the repository. Below are a few examples of the errors:
These issues are originating from files such as:
I’ve ensured that my changes align with the task requirements, and the issues above were not introduced by my code. Could you kindly guide me on how to proceed? Should I address these linter issues as part of this task, or would you recommend an alternate approach to commit and push my changes without being blocked by these errors? Thank you for your support! |
@quiet-node @natanasow @Nana-EC Please kindly help address the issues and questions on the task. |
Thank you for the update, @belloibrahv, and I apologize for my late response! Looking into these updates and will share my thoughts on them soon. |
This is a good idea! @natanasow what do you think? |
Hmm, that's strange! Were you able to rebase the changes? Did the linting errors persist after the rebase? Our goal is to keep PRs focused and address only the reported issues for clarity. If you believe these errors were not introduced by your code, please open a new ticket in the repository to report them for easier tracking. The team will review the ticket and determine how to address them. Thanks for the great work and effort as always! |
@belloibrahv In that test, we want to ensure if the var is missing, the config service will not brick or throw an error. If we add the Let's create a new ticket for the linter errors and not commit several issues to a single PR/branch. Thank you for the great contribution, looking forward to the PR review 🚀 . |
@Nana-EC @ebadiere @quiet-node I've submitted a PR addressing issue #3142 to resolve type warnings for ConfigService.get(). It ensures type consistency across test cases by refining type usage and adding/removing the necessary casting. Let me know if further changes are needed. Here's a in the PR #3350 Thank you for reviewing! |
Description
There are several places in current tests where expected values are in different types than those defined in the
ConfigService.get(<envName>)
method.Solution:
Identify all places where there are warnings or errors due to type mismatches. Remove any unnecessary casting, or add casting if required, to align with the types defined in
ConfigService.get(<envName>)
.Example Implementation
Refactor test cases to ensure type consistency with
ConfigService.get(<envName>)
, addressing any type warnings or errors.The text was updated successfully, but these errors were encountered: