Skip to content

System.Net.Http.Json: why there is no PatchAsJsonAsync like PutAsJsonAsync and PostAsJsonAsync  #45405

Closed

Description

@laggage

As I can see, there already exist some helpful methods in HttpClientExtensions; But why is there no PatchAsJsonAsync in HttpClientExtensions, it will help a lot if it can be added.

Activity

  1. added
    untriaged
    on Dec 1, 2020
  2. added
    api-suggestion
    on Dec 1, 2020
  3. removed
    untriaged
    on Dec 1, 2020
  4. added this to the Future milestone on Dec 1, 2020
  5. layomia commented on Dec 1, 2020

    @layomia
    Contributor
  6. eiriktsarpalis commented on Oct 15, 2021

    @eiriktsarpalis
    Member

    Sounds reasonable, in the meantime it should be possible to work around this by crafting custom HttpRequestMessage instances with JsonContent request bodies.

  7. added
    api-needs-work
    on Oct 15, 2021
  8. added
    good first issue
    on Oct 15, 2021
  9. modified the milestones: Future, 7.0.0 on Oct 15, 2021
  10. eiriktsarpalis commented on Oct 15, 2021

    @eiriktsarpalis
    Member

    @laggage would it be possible to update your post using the API proposal template? We can then put this up for API review.

  11. laggage commented on Oct 18, 2021

    @laggage
    Author

    thanks @ikesnowy supply. See #60531 to move on

  12. ghost locked as resolved and limited conversation to collaborators on Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-needs-workapi-suggestionarea-System.Text.Jsongood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions