You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/02/22 10:28:37 UTC

[GitHub] [flink] Airblader edited a comment on pull request #18868: [FLINK-26206][runtime-web] add service layer abstraction and refactor config service

Airblader edited a comment on pull request #18868:
URL: https://github.com/apache/flink/pull/18868#issuecomment-1047648112


   > What I am trying to do here is to make our modules and services more configurable. My first thought was to do an abstraction layer for each APIService and allows others to reuse those in their apps. However, after reconsidering it, it makes more sense to directly extend the services and override api methods for customization. So I guess the abstraction is meaningless in this sense.
   
   Thanks for the explanation. For what it's worth, with TypeScript's structural typing approach you don't _need_ dedicated base classes anyway since every class defines both a class and a type (of course depending on the situation, a dedicated type would still be cleaner).


-- 
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: issues-unsubscribe@flink.apache.org

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