Skip to content

1.0.0-alpha.17

Pre-release
Pre-release

Choose a tag to compare

@MetalHexx MetalHexx released this 16 May 05:10
· 37 commits to main since this release

Test Helper Nullable Request Property Fix

  • Request builder in RadEndpoints.Testing nuget package was causing nullable request types to not be properly built by producing null values (even when they weren't) into generated HttpRequests in integration tests.
  • Symptom was only present when using the package in the context of another project outside of this repo.
  • Technical Details:
    • The reflection-based request builder was failing to process nullable properties
      (e.g., string?) correctly when used in other applications. This was due to missing
      nullable context metadata, which caused binding attribute detection (e.g., [FromBody])
      to silently fail. The fix ensures attributes are evaluated before skipping null values,
      and type checks use is pattern matching to avoid runtime mismatches.