@graphql-codegen/c-sharp 4.2.8 → 4.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -311,7 +311,7 @@ class JsonAttributesSourceConfiguration {
|
|
|
311
311
|
}
|
|
312
312
|
const newtonsoftConfiguration = new JsonAttributesSourceConfiguration('Newtonsoft.Json', 'JsonProperty', 'JsonRequired');
|
|
313
313
|
// System.Text.Json does not have support of `JsonRequired` alternative (as for .NET 5)
|
|
314
|
-
const systemTextJsonConfiguration = new JsonAttributesSourceConfiguration('System.Text.Json', 'JsonPropertyName', null);
|
|
314
|
+
const systemTextJsonConfiguration = new JsonAttributesSourceConfiguration('System.Text.Json.Serialization', 'JsonPropertyName', null);
|
|
315
315
|
function getJsonAttributeSourceConfiguration(attributesSource) {
|
|
316
316
|
switch (attributesSource) {
|
|
317
317
|
case 'Newtonsoft.Json':
|
package/index.mjs
CHANGED
|
@@ -307,7 +307,7 @@ class JsonAttributesSourceConfiguration {
|
|
|
307
307
|
}
|
|
308
308
|
const newtonsoftConfiguration = new JsonAttributesSourceConfiguration('Newtonsoft.Json', 'JsonProperty', 'JsonRequired');
|
|
309
309
|
// System.Text.Json does not have support of `JsonRequired` alternative (as for .NET 5)
|
|
310
|
-
const systemTextJsonConfiguration = new JsonAttributesSourceConfiguration('System.Text.Json', 'JsonPropertyName', null);
|
|
310
|
+
const systemTextJsonConfiguration = new JsonAttributesSourceConfiguration('System.Text.Json.Serialization', 'JsonPropertyName', null);
|
|
311
311
|
function getJsonAttributeSourceConfiguration(attributesSource) {
|
|
312
312
|
switch (attributesSource) {
|
|
313
313
|
case 'Newtonsoft.Json':
|