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

Implement IParsable on ObjectId

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

      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

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

              Created:
              Updated: