Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-4381

Implement IParsable on ObjectId

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • None

    Description

      Please add a .NET 7 target and use it to implement the `IParsable` interface on ObjectId.

      https://learn.microsoft.com/en-us/dotnet/api/system.iparsable-1?view=net-7.0

       

      This will help improve the performance of binding ObjectIds in API requests https://learn.microsoft.com/en-us/aspnet/core/mvc/models/model-binding?view=aspnetcore-7.0#bind-with-iparsablettryparse

      Attachments

        Activity

          People

            Unassigned Unassigned
            fred.morel@onepeloton.com Fred Morel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: