Skip to content

Commit

Permalink
fix mapstruct issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Ochoa committed Dec 5, 2024
1 parent ea7f900 commit 47aea2c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ public RetrieverRequest baseRetrieverRequest(BaseRetrieverRequest baseRetrieverR
return this;
}

public RetrieverRequest retrieverConnectionObjectId(String retrieverConnectionObjectId) {
setId(retrieverConnectionObjectId);
public RetrieverRequest id(String id) {
setId(id);
return this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public interface MapperUtil {
* @return the RetrieverRequest
*/
@Mapping(source = "connectionEntity", target = "baseRetrieverRequest")
@Mapping(target = "id", ignore = true)
RetrieverRequest toRequest(RetrieverConnectionEntity entity);

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import static org.junit.jupiter.api.Assertions.*;
class AssistantAdminApiTest {

}

0 comments on commit 47aea2c

Please sign in to comment.