question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Validate parameter names

See original GitHub issue

Feature request

Validate parameter names on declaration. The current name validation is simply a non-empty check.

Feature description

Complete constraints for parameter names TBD. Name validation should enable to reject parameters when their name.

Implementation considerations

Nodes and topics have name validations, but parameters don’t. Following the implementation for node names and topics, it would make sense to implement the solution at RCL level and use that functionality in rclpy and rclcpp. See topic and service names design doc for reference.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
suab321321commented, Aug 20, 2019

Okay I will wait for it.

0reactions
ivanpaunocommented, Nov 18, 2019

@jubeira are parameters rules clear now…should I start

There is not progress in that discussion at the moment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Input parameter validation - IBM
Input validation can be performed for various kinds of inputs, such as parameter name, parameter value, cookie name, cookie value, and so on....
Read more >
validate and clean HTTP parameter values according to a set ...
This keyword defines a set of rules to be used for validating parameters. The first argument is the ruleset's name, which must be...
Read more >
Validating Parameters with PowerShell ValidateScript ...
Learn about one of the best ways to parameter input with the PowerShell ValidateScript validation attribute in this walkthrough!
Read more >
Simplify Your PowerShell Script with Parameter Validation
Simply put, parameter validation is a means for Windows PowerShell to validate a parameter's value before the body of the script or function...
Read more >
Query Parameters and String Validations - FastAPI
This will validate the data, show a clear error when the data is not valid, ... To declare a query parameter with a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found