Skip to content
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

fix(关系): 优化固定值的判断 #313

Merged
merged 8 commits into from
Jun 6, 2023
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public Flux<Object> resolve(Map<String, Object> context,
ConfigKey<?> propertyPath) {
validate();
if (getSource() == VariableSource.Source.fixed) {
return CastUtils.flatStream(Flux.just(value));
return value == null ? Flux.empty() : CastUtils.flatStream(Flux.just(value));
}
if (getSource() == VariableSource.Source.upper) {
return Mono
Expand Down