Skip to content

Conversation

@pshao25
Copy link
Member

@pshao25 pshao25 commented Aug 1, 2024

We have now enabled JsonModelWriteCore and JsonModelCreateCore in MGC. Now we are adding this WriteCore/CreateCore feature to autorest.csharp, because some customers are asking this. However, these two methods are violating “AZC0014: Types from System.Text.Json, Newtonsoft.Json, System.Collections.Immutable assemblies should not be exposed as part of public API surface. “

Confirmed with @KrzysztofCwalina that Utf8JsonReader/Writer should be an exception to AZC0014. You could refer to that decision in the email titled "Suppress AZC0014 on WriteCore and CreateCore".

@pshao25 pshao25 changed the title Add exception to AZC0014 Add exception for Utf8JsonReader/Writer to AZC0014 Aug 1, 2024
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.

4 participants