Skip to content

Commit

Permalink
Fix NestedParameter parameter name in "getEpicBoardInGroup()"
Browse files Browse the repository at this point in the history
  • Loading branch information
jmini committed Jan 30, 2025
1 parent cfa927d commit 058eb23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GenerateGitlabClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public static Config createConfig(Schema schema) {
.addAdditionalMethod(new AdditionalMethod()
.setJavaMethodName("getEpicBoardInGroup")
.addNestedParameter(new NestedParameter()
.setGraphQlNestedParameterPath("board")
.setGraphQlNestedParameterPath("epicBoard")
.setGraphQlName("id")
.setNonNull()
.setParameterType("{ModelPackageName}.BoardsEpicBoardID") //
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/graphql/gitlab/api/WorkitemClientApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public interface WorkitemClientApi {
GroupContainingSingleIssueBoard getIssueBoardInGroup(@Name("fullPath") @NonNull @Id String fullPath, @NestedParameter("board") @Name("id") @NonNull BoardID boardId);

@Query("group")
GroupContainingSingleEpicBoard getEpicBoardInGroup(@Name("fullPath") @NonNull @Id String fullPath, @NestedParameter("board") @Name("id") @NonNull BoardsEpicBoardID boardId);
GroupContainingSingleEpicBoard getEpicBoardInGroup(@Name("fullPath") @NonNull @Id String fullPath, @NestedParameter("epicBoard") @Name("id") @NonNull BoardsEpicBoardID boardId);

@Query("group")
GroupContainingIssueBoards getIssueBoardsInGroup(@Name("fullPath") @NonNull @Id String fullPath);
Expand Down

0 comments on commit 058eb23

Please sign in to comment.