smallrye / smallrye-graphql

Implementation for MicroProfile GraphQL
Apache License 2.0
160 stars 92 forks source link

Regression: NPE in BeanValidationError#getExtensions #2219

Closed schulzp closed 2 weeks ago

schulzp commented 2 weeks ago

2201 changed the code of BeanValidationError#getExtensions. By using Map.of() it no longer can accept null values, which breaks, if invalidValue is invalid because it's null.

@dpolysiou - could you use new HashMap() instead of Map.of()?