极道九幽

Results 8 issues of 极道九幽

代码块收起按钮会浮动在导航栏之上

When can you support it for Swift Packages

**The context** 1. 请问异常处理的地方能否出一个demo。我服务端发的metadata,客户端总是接不到 2. 异常处理时返回了Status,StatusRuntimeException、StatusException。可是客户端收到的都是StatusRuntimeException是否正常? 3. 能否出一个教程去改造GrpcExceptionHandler?因为Spring的ExceptionHandler在捕获异常后可以处理成正常消息返回。我觉得大家还是很需要这种功能的。毕竟Grpc的异常处理能力确实不行。 **The question** 1. 请问异常处理的地方能否出一个demo。我服务端发的metadata,客户端总是接不到 2. 异常处理时返回了Status,StatusRuntimeException、StatusException。可是客户端收到的都是StatusRuntimeException是否正常? 3. 能否出一个教程去改造GrpcExceptionHandler?因为Spring的ExceptionHandler在捕获异常后可以处理成正常消息返回。我觉得大家还是很需要这种功能的。毕竟Grpc的异常处理能力确实不行。 **Stacktraces and logs** 无 **The application's environment** Which versions do you use? * Spring...

enhancement
question
examples

我在接口和方法都加了BasicAuth注解,但是实际上方法调用的时候获取到的数据是接口上的。 预期: 如果方法没有注解,就看接口上的注解。 如果方法有,方法上的注解优先。 ![](https://github.com/dromara/forest/assets/24694117/49d04fb7-803d-4214-b0b6-b4999cf26366) ![](https://github.com/dromara/forest/assets/24694117/3fc2d610-5a70-472d-94a2-7e74306a466b) ![](https://github.com/dromara/forest/assets/24694117/ba3a347d-5262-4de9-803d-a682b023606f) ![](https://github.com/dromara/forest/assets/24694117/5aba88b0-0685-41f2-8bd6-6f14520b9268) 正常来说应该是方法优先而不是接口优先。

![image](https://github.com/dromara/forest/assets/24694117/f6a58fa1-17ef-4041-8ded-8da4c3fdab71) 此处handleError的时候会出来响应码不为200的,并包装成网络错误 ![image](https://github.com/dromara/forest/assets/24694117/5d66d72f-f194-4290-9b18-81b05e6a001d) 某个拦截器的onError方法主动抛出了自定义异常,会被最初的handleSyncWithException的catch (Throwable th)拦截。 此时为何又要去response.getResult()? ![image](https://github.com/dromara/forest/assets/24694117/988d5c7f-7d09-4070-ab6b-efb176006655) ![image](https://github.com/dromara/forest/assets/24694117/5e74b180-49c4-4682-a899-ccd9aaef9e15) 如果getResult一般会抛出数据转换异常,这样导致自定义拦截器中抛出的自定义异常丢失。 ![image](https://github.com/dromara/forest/assets/24694117/024eb075-7ea7-4931-8d4f-8e9dd640692d) ![image](https://github.com/dromara/forest/assets/24694117/a00221d8-87ab-4bec-bbde-f37a167a1ced) ![image](https://github.com/dromara/forest/assets/24694117/77a069bd-5fda-4b93-9e60-95f3b4197eea) 这个如何解决?

不会自动引入pagehelper-spring-boot-autoconfigure等。 开了maven的debug模式显示如下: [WARNING] The POM for com.github.pagehelper:pagehelper-spring-boot-starter:jar:1.4.6 is invalid, transitive dependencies (if any) will not be available: 5 problems were encountered while building the effective model for com.github.pagehelper:pagehelper-spring-boot-starter:1.4.6 [ERROR] Invalid...

failed to create HostComputeNetwork flannel.4096: hcnCreateNetwork failed in Win32: The parameter is incorrect. (0x57) ## Expected Behavior the flannel pod for windows is error ## Current Behavior ``` PS C:\hpc\flannel>...

有个场景是登陆成功弹窗(Toast)提示 登陆成功 然后等弹窗消失后,跳转页面