Skip to content
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

Feature Request:Make the isPathValid Service Configurable with Parameters #4756

Open
BCKSELFDRIVEWORLD opened this issue Nov 19, 2024 · 8 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@BCKSELFDRIVEWORLD
Copy link

Feature request

Feature description

Currently, the isPathValid service considers a path valid as long as the costs are not lethal. However, in many scenarios, users might need more flexibility in determining what constitutes a valid path. For instance, there might be cases where paths with costs above a certain threshold (but below lethal cost) should also be considered invalid.

To address this, I propose introducing a parameter that allows users to specify the threshold cost for path validity. This would make the service more adaptable to different use cases and improve its overall utility.

Proposed Feature:

  • Add a parameter to the isPathValid service that allows users to define the maximum allowable cost for a path to be considered valid.
@SteveMacenski
Copy link
Member

Seems reasonable to have a max cost parameter or in the service request itself. I think the service request having a field for the max, valid cost would be great & pretty easy contribution. @BCKSELFDRIVEWORLD can you submit a PR?

@SteveMacenski SteveMacenski added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jan 23, 2025
@Youlun-Peng
Copy link

Hey, @SteveMacenski ! Is there any progress here? Can I contribute to address this issue? :D

@BCKSELFDRIVEWORLD
Copy link
Author

BCKSELFDRIVEWORLD commented Jan 24, 2025

i will sent pr this week

@mini-1235
Copy link

i will sent pr this week

Sorry, I just saw this reply after I made the PR 🥲

@BCKSELFDRIVEWORLD
Copy link
Author

If you haven’t seen it, no problem. Congratulations! I’m sorry for keeping you @SteveMacenski waiting this long; I was busy and forgot. :/

@SteveMacenski
Copy link
Member

@BCKSELFDRIVEWORLD I understand! Let me know if you're open to contributing something else 😉 I'm sure between your needs and ideas and my huge backlog, we can find something if you like!

@CesarBear
Copy link

@SteveMacenski I am open to contributing something else. Is there any issue suitable for my first trial help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants