You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/11/03 09:34:20 UTC

[GitHub] [incubator-devlake] klesh commented on a diff in pull request #3151: [issue-3123][backend] Singer-spec framework support

klesh commented on code in PR #3151:
URL: https://github.com/apache/incubator-devlake/pull/3151#discussion_r1012669052


##########
plugins/helper/api_rawdata.go:
##########
@@ -52,11 +52,12 @@ type RawDataSubTaskArgs struct {
 // RawDataSubTask is Common features for raw data sub-tasks
 type RawDataSubTask struct {
 	args   *RawDataSubTaskArgs
-	table  string
-	params string
+	Table  string

Review Comment:
   The reason these Fields are private is they should not be modified after initialization.
   Any accidental modified can cause bugs.
   
   Maybe we should move this file to `models` module since it is part of the infrastructure of the framework and shared by different helpers and change these Fields to Methods to avoid modification.
   



-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org