Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix misleading code sample #329

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

habbes
Copy link
Contributor

@habbes habbes commented Sep 12, 2024

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.

Copy link
Contributor

Learn Build status updates of commit 8919764:

✅ Validation status: passed

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

For more details, please refer to the build report.

For any questions, please:

@gathogojr gathogojr merged commit 6b7eb59 into MicrosoftDocs:main Sep 12, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants