Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: reactiveui/refit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v16.2.0
Choose a base ref
...
head repository: reactiveui/refit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v16.3.0
Choose a head ref
  • 1 commit
  • 23 files changed
  • 1 contributor

Commits on Sep 26, 2026

  1. feat(analyzers): explain why a method cannot generate and flag unboun…

    …d route placeholders (#2340)
    
    * feat(build): add opt-in RefitRequireGeneratedRequests profile
    
    - Setting RefitRequireGeneratedRequests to true promotes RF006 to an error.
    - Runs as a target because the consumer's project body is evaluated after refit.props.
    - Off by default so builds that use Refit.Reflection on purpose are unaffected.
    
    * feat(analyzers): explain why a method cannot generate and flag unbound route placeholders
    
    - The shared classifier now records the first reason a request is not generated and the parameter responsible.
    - RF006 reports at that parameter, return type or attribute, names the reason and remedy, and only suggests Refit.Reflection when it can run the method.
    - RF006 carries Reason and ParameterOrdinal properties for tooling.
    - Add RF015 for a route placeholder no parameter binds; the runtime check stays as a backstop.
    - Add classifier-backed fixtures for every reason and for the published support table.
    
    * docs(generator): correct multipart serialized-part comments
    
    - Any declared class or struct part is serialized, not only sealed ones.
    
    * test(aot): restore a reflection-backed member in the Native AOT smoke
    
    - IObservable replies are now generated, so ObserveLegacy no longer exercised the fallback.
    - SearchLegacyAsync(object) falls back for real, so the trim check for #2200 covers it again.
    
    * test(analyzers): cover fallback locations and drop unreachable branches
    
    - Remove IsUrlBindingSupported, which has no callers now that FindUnsupportedUrlBinding reports the ordinal.
    - An RF015 placeholder always comes from a source attribute's first argument, so its location lookup needs no null guard.
    - Cover method-level fallbacks located on the method, including one with no source declaration.
    glennawatson authored Sep 26, 2026
    Configuration menu
    Copy the full SHA
    053873c View commit details
    Browse the repository at this point in the history
Loading
⌂ 换网址