1 - triagedhelp wantedt:routing
仓库指标
- 星标
- (1,311 个星标)
- PR 合并指标
- (平均合并 1天 10小时) (30 天内合并 2 个 PR)
描述
When completing a route with a Java Optional the output is not the one I would expect:
Expected Behavior
- If
Optional[T]is empty: completed with an emptyEntity - If
Optional[T]is not empty: completed with proper marshalling ofT
Actual Behavior
- If
Optional[T]is empty: completed with{"present": false} - If
Optional[T]is not empty: completed with{"present": true}
I have a gist where one can reproduce this: https://gist.github.com/jlprat/5e1c27ce4b912e0a3eb0ad56237246d7