jrgemignani commented on issue #1985:
URL: https://github.com/apache/age/issues/1985#issuecomment-2243633047

   @MironAtHome The function `is_valid_label` is an internal function that is 
part of name validation. For example, it is used by `is_valid_label_name`. Its 
function is not to validate whether a label exists, rather it is to validate 
the proper construction of the name itself. This is why it doesn't need to know 
the graph name.
   
   ```
   /*
    * Returns whether the label name is valid.
    *
    * Note: label_type parameter is not used in this implementation.
    * It should be used if validation algorithm for edge and vertex
    * differs in future.
    *
    * @param label_name name of the label
    * @param label_type label type defined in label_commands.h
    * @return int
    */
   int is_valid_label(char *label_name, char label_type)
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to