apache / apache/incubator-graphar

feat(java, info): builder design pattern for java-info

Open
#740 6 comments 0 reactions 1 assignee Assigned to @Jarvx200 View on GitHub
enhancement good first issue help wanted
Dominant language
C++
Stars
373
Forks
93
Avg merge
7d 21h
Merged PRs (30d)
7

Description

### Describe the enhancement requested

Naive constructors are not friendly for users when the function need such more parameters

https://github.com/apache/incubator-graphar/blob/09703b6fc3ed3499fc8ed1b410647e50c96ec506/maven-projects/info/src/main/java/org/apache/graphar/info/EdgeInfo.java#L54-L65

The builder design pattern will help.

### Component(s)

Java

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.