-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Dubbo-Proxy Plugin Support Multi Type Object Request And Response #9798
Comments
interesting. can you provide a user case? maybe we need a proposal for discuss. |
Yes Bro, In some java web develop cases, we design api by RPC or ROA pattern. we always try to POST a DTO Object request Parameters. In many cases , the param not just contain BASIC Java Types : the Parent Class DTO contains many sub Class DTO. it came to be nested Object.
@PostMapping("/api/saveOrUpdate")
public Mono<String> saveOrUpdate(@RequestBody MetaDataDTO metaDataDto) {
return Mono.just(Constants.SUCCESS);
}
public class MetaDataDto {
private String id;
private String appName;
private String contextPath;
private String path;
private MetaConfigDTO metaconfig; In Dubbo , the Provider Alway choose to define a Facade/API layer ,which just contain all function interface and param DTO. this layer give to Consumer to dependency . such as:
public interface HelloService {
public UserVerifyResponse verify(UserInfoRequest who);
} So . in But for many application online which we can not Expose it easy because Parameter Type Problem. |
Does it seem like a type of requirement? #9660 |
Yes sir. |
This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions. |
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time. |
Description
As a Deep User Of
Apache Apisix
andApache Dubbo
, I find Apisix has Ability to proxy Dubbo service but needed advanced feature . which is Strong Typed Parameter Proxy.Now
Dubbo-Proxy-Plugin
may just support Map<String,String> Response or Request.Java developer need this badly.
The text was updated successfully, but these errors were encountered: