MicrosoftDocs / OData-docs

Creative Commons Attribution 4.0 International
32 stars 109 forks source link

Fix misleading code sample #329

Closed habbes closed 1 week ago

habbes commented 1 week ago

The OData .NET 8 release docs has a code sample showing how to revert to OData .NET 7's default JsonWriter with via ODataJsonWriterFactory.Default. However, ODataJsonWriterFactory.Default singleton does not exist. Instead, users should instantiate a new one new ODataJsonWriterFactory(). This PR fixes that.

learn-build-service-prod[bot] commented 1 week ago

Learn Build status updates of commit 8919764:

:white_check_mark: Validation status: passed

File Status Preview URL Details
Odata-docs/odatalib/release-notes/odatalib-8.md :white_check_mark:Succeeded View

For more details, please refer to the build report.

For any questions, please: