Skip to content

feat(java,info): Set reasonable default prefix for AdjacentList/PropertyGroup #814

@yangxk1

Description

@yangxk1

Describe the enhancement requested

In the java-info implementation, when parsing AdjacentList or PropertyGroup, if the prefix field is missing, it is currently treated as null/empty, which can lead to issues later. Referring to the C++ logic, if prefix is empty, it is set to a reasonable default value (e.g., PropertyGroup uses concatenated property names, AdjacentList uses type name as the directory name. See the C++ reference implementation: graph_info.cc#L109). I have completed a simple demo for this logic (yangxk1@c84c162), but would like confirmation whether there are other locations in the codebase that should also add this kind of default value handling. Please review all AdjacentList and PropertyGroup related parsing/construction code to ensure consistent default prefix logic and to avoid missing cases.

Component(s)

Java

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions