lxfeng1997 commented on code in PR #812: URL: https://github.com/apache/incubator-seata-go/pull/812#discussion_r2105729245
########## pkg/saga/statemachine/store/repository/state_machine_repository.go: ########## @@ -205,7 +204,7 @@ func (s *StateMachineRepositoryImpl) RegistryStateMachineByReader(reader io.Read return nil } -func (s *StateMachineRepositoryImpl) SetStateLangStore(stateLangStore *db.StateLangStore) { +func (s *StateMachineRepositoryImpl) SetStateLangStore(stateLangStore core.StateLangStore) { Review Comment: I think it is necessary. If you specify a type other than the interface, it may be limited to the caller's use. Now adjusting to the type of interface will not affect the user's call. -- 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: notifications-unsubscr...@seata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org