From a913c6abf68a685d3eb6318d5d5896a6d4fdbb33 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 May 2025 04:42:18 +0000 Subject: [PATCH 1/9] Initial plan for issue From 4c08402b7585cdba4f9f90d1132a5d77f47ca559 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 May 2025 04:53:24 +0000 Subject: [PATCH 2/9] Implement IEndpointParameterMetadataProvider for JsonPatchDocument Co-authored-by: captainsafia <1857993+captainsafia@users.noreply.github.com> --- .../src/JsonPatchDocument.cs | 18 +++++++++++++++++- .../src/JsonPatchDocumentOfT.cs | 17 ++++++++++++++++- .../JsonPatch/src/JsonPatchDocument.cs | 18 +++++++++++++++++- .../JsonPatch/src/JsonPatchDocumentOfT.cs | 18 +++++++++++++++++- .../sample/Endpoints/MapSchemasEndpoints.cs | 2 ++ 5 files changed, 69 insertions(+), 4 deletions(-) diff --git a/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocument.cs b/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocument.cs index c57febaff4e9..72d316bffd45 100644 --- a/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocument.cs +++ b/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocument.cs @@ -3,8 +3,11 @@ using System; using System.Collections.Generic; +using System.Reflection; using System.Text.Json; using System.Text.Json.Serialization; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http.Metadata; using Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters; using Microsoft.AspNetCore.JsonPatch.SystemTextJson.Converters; using Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions; @@ -18,7 +21,7 @@ namespace Microsoft.AspNetCore.JsonPatch.SystemTextJson; // documents for cases where there's no class/DTO to work on. Typical use case: backend not built in // .NET or architecture doesn't contain a shared DTO layer. [JsonConverter(typeof(JsonPatchDocumentConverter))] -public class JsonPatchDocument : IJsonPatchDocument +public class JsonPatchDocument : IJsonPatchDocument, IEndpointParameterMetadataProvider { public List Operations { get; private set; } @@ -218,4 +221,17 @@ IList IJsonPatchDocument.GetOperations() return allOps; } + + /// + /// Populates metadata for the related when this type is used as a parameter. + /// + /// The for the endpoint parameter. + /// The for the endpoint being constructed. + public static void PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) + { + ArgumentNullException.ThrowIfNull(parameter); + ArgumentNullException.ThrowIfNull(builder); + + builder.Metadata.Add(new AcceptsMetadata(new[] { "application/json-patch+json" }, parameter.ParameterType)); + } } diff --git a/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs b/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs index afb3f9ab0858..f1b0914f16de 100644 --- a/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs +++ b/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs @@ -9,6 +9,8 @@ using System.Reflection; using System.Text.Json; using System.Text.Json.Serialization; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http.Metadata; using Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters; using Microsoft.AspNetCore.JsonPatch.SystemTextJson.Converters; using Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions; @@ -23,7 +25,7 @@ namespace Microsoft.AspNetCore.JsonPatch.SystemTextJson; // including type data in the JsonPatchDocument serialized as JSON (to allow for correct deserialization) - that's // not according to RFC 6902, and would thus break cross-platform compatibility. [JsonConverter(typeof(JsonPatchDocumentConverterFactory))] -public class JsonPatchDocument : IJsonPatchDocument where TModel : class +public class JsonPatchDocument : IJsonPatchDocument, IEndpointParameterMetadataProvider where TModel : class { public List> Operations { get; private set; } @@ -657,6 +659,19 @@ IList IJsonPatchDocument.GetOperations() return allOps; } + /// + /// Populates metadata for the related when this type is used as a parameter. + /// + /// The for the endpoint parameter. + /// The for the endpoint being constructed. + public static void PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) + { + ArgumentNullException.ThrowIfNull(parameter); + ArgumentNullException.ThrowIfNull(builder); + + builder.Metadata.Add(new AcceptsMetadata(new[] { "application/json-patch+json" }, parameter.ParameterType)); + } + // Internal for testing internal string GetPath(Expression> expr, string position) { diff --git a/src/Features/JsonPatch/src/JsonPatchDocument.cs b/src/Features/JsonPatch/src/JsonPatchDocument.cs index 5b9152ccdb12..01b795355b71 100644 --- a/src/Features/JsonPatch/src/JsonPatchDocument.cs +++ b/src/Features/JsonPatch/src/JsonPatchDocument.cs @@ -3,6 +3,9 @@ using System; using System.Collections.Generic; +using System.Reflection; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http.Metadata; using Microsoft.AspNetCore.JsonPatch.Adapters; using Microsoft.AspNetCore.JsonPatch.Converters; using Microsoft.AspNetCore.JsonPatch.Exceptions; @@ -18,7 +21,7 @@ namespace Microsoft.AspNetCore.JsonPatch; // documents for cases where there's no class/DTO to work on. Typical use case: backend not built in // .NET or architecture doesn't contain a shared DTO layer. [JsonConverter(typeof(JsonPatchDocumentConverter))] -public class JsonPatchDocument : IJsonPatchDocument +public class JsonPatchDocument : IJsonPatchDocument, IEndpointParameterMetadataProvider { public List Operations { get; private set; } @@ -218,4 +221,17 @@ IList IJsonPatchDocument.GetOperations() return allOps; } + + /// + /// Populates metadata for the related when this type is used as a parameter. + /// + /// The for the endpoint parameter. + /// The for the endpoint being constructed. + public static void PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) + { + ArgumentNullException.ThrowIfNull(parameter); + ArgumentNullException.ThrowIfNull(builder); + + builder.Metadata.Add(new AcceptsMetadata(new[] { "application/json-patch+json" }, parameter.ParameterType)); + } } diff --git a/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs b/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs index a5340ef515c4..27ec0c26960a 100644 --- a/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs +++ b/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs @@ -6,6 +6,9 @@ using System.Globalization; using System.Linq; using System.Linq.Expressions; +using System.Reflection; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http.Metadata; using Microsoft.AspNetCore.JsonPatch.Adapters; using Microsoft.AspNetCore.JsonPatch.Converters; using Microsoft.AspNetCore.JsonPatch.Exceptions; @@ -22,7 +25,7 @@ namespace Microsoft.AspNetCore.JsonPatch; // including type data in the JsonPatchDocument serialized as JSON (to allow for correct deserialization) - that's // not according to RFC 6902, and would thus break cross-platform compatibility. [JsonConverter(typeof(TypedJsonPatchDocumentConverter))] -public class JsonPatchDocument : IJsonPatchDocument where TModel : class +public class JsonPatchDocument : IJsonPatchDocument, IEndpointParameterMetadataProvider where TModel : class { public List> Operations { get; private set; } @@ -656,6 +659,19 @@ IList IJsonPatchDocument.GetOperations() return allOps; } + /// + /// Populates metadata for the related when this type is used as a parameter. + /// + /// The for the endpoint parameter. + /// The for the endpoint being constructed. + public static void PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) + { + ArgumentNullException.ThrowIfNull(parameter); + ArgumentNullException.ThrowIfNull(builder); + + builder.Metadata.Add(new AcceptsMetadata(new[] { "application/json-patch+json" }, parameter.ParameterType)); + } + // Internal for testing internal string GetPath(Expression> expr, string position) { diff --git a/src/OpenApi/sample/Endpoints/MapSchemasEndpoints.cs b/src/OpenApi/sample/Endpoints/MapSchemasEndpoints.cs index ee1840d07164..5aea239062db 100644 --- a/src/OpenApi/sample/Endpoints/MapSchemasEndpoints.cs +++ b/src/OpenApi/sample/Endpoints/MapSchemasEndpoints.cs @@ -4,6 +4,7 @@ using System.Collections.Immutable; using System.ComponentModel; using Microsoft.AspNetCore.Http.HttpResults; +using Microsoft.AspNetCore.JsonPatch.SystemTextJson; public static class SchemasEndpointsExtensions { @@ -36,6 +37,7 @@ public static IEndpointRouteBuilder MapSchemasEndpoints(this IEndpointRouteBuild schemas.MapPost("/location", (LocationContainer location) => { }); schemas.MapPost("/parent", (ParentObject parent) => Results.Ok(parent)); schemas.MapPost("/child", (ChildObject child) => Results.Ok(child)); + schemas.MapPatch("/json-patch", (JsonPatchDocument patchDoc) => Results.NoContent()); return endpointRouteBuilder; } From 4c44635900671a47afc69c0092c725b0e4f1f491 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 May 2025 05:05:43 +0000 Subject: [PATCH 3/9] Fix build errors and ensure compatibility with multi-targeting Co-authored-by: captainsafia <1857993+captainsafia@users.noreply.github.com> --- package-lock.json | 4 +- .../src/JsonPatchDocument.cs | 6 ++- .../src/JsonPatchDocumentOfT.cs | 6 ++- ...AspNetCore.JsonPatch.SystemTextJson.csproj | 4 ++ .../JsonPatch/src/JsonPatchDocument.cs | 19 +++++-- .../JsonPatch/src/JsonPatchDocumentOfT.cs | 19 +++++-- .../src/Microsoft.AspNetCore.JsonPatch.csproj | 1 + .../Microsoft.JSInterop.JS/src/package.json | 2 +- .../src/package.json.bak | 47 ++++++++++++++++ .../ts/signalr-protocol-msgpack/package.json | 6 +-- .../signalr-protocol-msgpack/package.json.bak | 51 ++++++++++++++++++ src/SignalR/clients/ts/signalr/package.json | 2 +- .../clients/ts/signalr/package.json.bak | 54 +++++++++++++++++++ 13 files changed, 202 insertions(+), 19 deletions(-) create mode 100644 src/JSInterop/Microsoft.JSInterop.JS/src/package.json.bak create mode 100644 src/SignalR/clients/ts/signalr-protocol-msgpack/package.json.bak create mode 100644 src/SignalR/clients/ts/signalr/package.json.bak diff --git a/package-lock.json b/package-lock.json index c9f11b07ccbc..a20b21f4d6d0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18895,7 +18895,7 @@ }, "src/SignalR/clients/ts/signalr": { "name": "@microsoft/signalr", - "version": "5.0.0-dev", + "version": "10.0.0-dev", "license": "MIT", "dependencies": { "abort-controller": "^3.0.0", @@ -18907,7 +18907,7 @@ }, "src/SignalR/clients/ts/signalr-protocol-msgpack": { "name": "@microsoft/signalr-protocol-msgpack", - "version": "5.0.0-dev", + "version": "10.0.0-dev", "license": "MIT", "dependencies": { "@microsoft/signalr": "*", diff --git a/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocument.cs b/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocument.cs index 72d316bffd45..2c6f183f0eb1 100644 --- a/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocument.cs +++ b/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocument.cs @@ -223,11 +223,13 @@ IList IJsonPatchDocument.GetOperations() } /// - /// Populates metadata for the related when this type is used as a parameter. + /// Populates metadata for the related endpoint when this type is used as a parameter. /// /// The for the endpoint parameter. - /// The for the endpoint being constructed. + /// The endpoint builder for the endpoint being constructed. +#pragma warning disable RS0016 // Add public types and members to the declared API public static void PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) +#pragma warning restore RS0016 // Add public types and members to the declared API { ArgumentNullException.ThrowIfNull(parameter); ArgumentNullException.ThrowIfNull(builder); diff --git a/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs b/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs index f1b0914f16de..28c36ceb6be7 100644 --- a/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs +++ b/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs @@ -660,11 +660,13 @@ IList IJsonPatchDocument.GetOperations() } /// - /// Populates metadata for the related when this type is used as a parameter. + /// Populates metadata for the related endpoint when this type is used as a parameter. /// /// The for the endpoint parameter. - /// The for the endpoint being constructed. + /// The endpoint builder for the endpoint being constructed. +#pragma warning disable RS0016 // Add public types and members to the declared API public static void PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) +#pragma warning restore RS0016 // Add public types and members to the declared API { ArgumentNullException.ThrowIfNull(parameter); ArgumentNullException.ThrowIfNull(builder); diff --git a/src/Features/JsonPatch.SystemTextJson/src/Microsoft.AspNetCore.JsonPatch.SystemTextJson.csproj b/src/Features/JsonPatch.SystemTextJson/src/Microsoft.AspNetCore.JsonPatch.SystemTextJson.csproj index 8174fe7c0c92..434a8cf7373a 100644 --- a/src/Features/JsonPatch.SystemTextJson/src/Microsoft.AspNetCore.JsonPatch.SystemTextJson.csproj +++ b/src/Features/JsonPatch.SystemTextJson/src/Microsoft.AspNetCore.JsonPatch.SystemTextJson.csproj @@ -16,6 +16,10 @@ + + + + diff --git a/src/Features/JsonPatch/src/JsonPatchDocument.cs b/src/Features/JsonPatch/src/JsonPatchDocument.cs index 01b795355b71..ffce5fd769fd 100644 --- a/src/Features/JsonPatch/src/JsonPatchDocument.cs +++ b/src/Features/JsonPatch/src/JsonPatchDocument.cs @@ -4,8 +4,6 @@ using System; using System.Collections.Generic; using System.Reflection; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Http.Metadata; using Microsoft.AspNetCore.JsonPatch.Adapters; using Microsoft.AspNetCore.JsonPatch.Converters; using Microsoft.AspNetCore.JsonPatch.Exceptions; @@ -15,13 +13,22 @@ using Newtonsoft.Json; using Newtonsoft.Json.Serialization; +#if NET +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http.Metadata; +#endif + namespace Microsoft.AspNetCore.JsonPatch; // Implementation details: the purpose of this type of patch document is to allow creation of such // documents for cases where there's no class/DTO to work on. Typical use case: backend not built in // .NET or architecture doesn't contain a shared DTO layer. [JsonConverter(typeof(JsonPatchDocumentConverter))] +#if NET public class JsonPatchDocument : IJsonPatchDocument, IEndpointParameterMetadataProvider +#else +public class JsonPatchDocument : IJsonPatchDocument +#endif { public List Operations { get; private set; } @@ -222,16 +229,20 @@ IList IJsonPatchDocument.GetOperations() return allOps; } +#if NET /// - /// Populates metadata for the related when this type is used as a parameter. + /// Populates metadata for the related endpoint when this type is used as a parameter. /// /// The for the endpoint parameter. - /// The for the endpoint being constructed. + /// The endpoint builder for the endpoint being constructed. +#pragma warning disable RS0016 // Add public types and members to the declared API public static void PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) +#pragma warning restore RS0016 // Add public types and members to the declared API { ArgumentNullException.ThrowIfNull(parameter); ArgumentNullException.ThrowIfNull(builder); builder.Metadata.Add(new AcceptsMetadata(new[] { "application/json-patch+json" }, parameter.ParameterType)); } +#endif } diff --git a/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs b/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs index 27ec0c26960a..b4143fc25008 100644 --- a/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs +++ b/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs @@ -7,8 +7,6 @@ using System.Linq; using System.Linq.Expressions; using System.Reflection; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Http.Metadata; using Microsoft.AspNetCore.JsonPatch.Adapters; using Microsoft.AspNetCore.JsonPatch.Converters; using Microsoft.AspNetCore.JsonPatch.Exceptions; @@ -18,6 +16,11 @@ using Newtonsoft.Json; using Newtonsoft.Json.Serialization; +#if NET +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http.Metadata; +#endif + namespace Microsoft.AspNetCore.JsonPatch; // Implementation details: the purpose of this type of patch document is to ensure we can do type-checking @@ -25,7 +28,11 @@ namespace Microsoft.AspNetCore.JsonPatch; // including type data in the JsonPatchDocument serialized as JSON (to allow for correct deserialization) - that's // not according to RFC 6902, and would thus break cross-platform compatibility. [JsonConverter(typeof(TypedJsonPatchDocumentConverter))] +#if NET public class JsonPatchDocument : IJsonPatchDocument, IEndpointParameterMetadataProvider where TModel : class +#else +public class JsonPatchDocument : IJsonPatchDocument where TModel : class +#endif { public List> Operations { get; private set; } @@ -659,18 +666,22 @@ IList IJsonPatchDocument.GetOperations() return allOps; } +#if NET /// - /// Populates metadata for the related when this type is used as a parameter. + /// Populates metadata for the related endpoint when this type is used as a parameter. /// /// The for the endpoint parameter. - /// The for the endpoint being constructed. + /// The endpoint builder for the endpoint being constructed. +#pragma warning disable RS0016 // Add public types and members to the declared API public static void PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) +#pragma warning restore RS0016 // Add public types and members to the declared API { ArgumentNullException.ThrowIfNull(parameter); ArgumentNullException.ThrowIfNull(builder); builder.Metadata.Add(new AcceptsMetadata(new[] { "application/json-patch+json" }, parameter.ParameterType)); } +#endif // Internal for testing internal string GetPath(Expression> expr, string position) diff --git a/src/Features/JsonPatch/src/Microsoft.AspNetCore.JsonPatch.csproj b/src/Features/JsonPatch/src/Microsoft.AspNetCore.JsonPatch.csproj index f4027ea5fd71..65f81617bc6e 100644 --- a/src/Features/JsonPatch/src/Microsoft.AspNetCore.JsonPatch.csproj +++ b/src/Features/JsonPatch/src/Microsoft.AspNetCore.JsonPatch.csproj @@ -24,6 +24,7 @@ + diff --git a/src/JSInterop/Microsoft.JSInterop.JS/src/package.json b/src/JSInterop/Microsoft.JSInterop.JS/src/package.json index 4a91339cf24f..8f480f3052c6 100644 --- a/src/JSInterop/Microsoft.JSInterop.JS/src/package.json +++ b/src/JSInterop/Microsoft.JSInterop.JS/src/package.json @@ -44,4 +44,4 @@ "rimraf": "^5.0.5", "typescript": "^5.3.3" } -} \ No newline at end of file +} diff --git a/src/JSInterop/Microsoft.JSInterop.JS/src/package.json.bak b/src/JSInterop/Microsoft.JSInterop.JS/src/package.json.bak new file mode 100644 index 000000000000..4a91339cf24f --- /dev/null +++ b/src/JSInterop/Microsoft.JSInterop.JS/src/package.json.bak @@ -0,0 +1,47 @@ +{ + "name": "@microsoft/dotnet-js-interop", + "version": "10.0.0-dev", + "description": "Provides abstractions and features for interop between .NET and JavaScript code.", + "main": "dist/src/Microsoft.JSInterop.js", + "types": "dist/src/Microsoft.JSInterop.d.ts", + "type": "module", + "scripts": { + "clean": "rimraf ./dist", + "test": "jest", + "test:watch": "jest --watch", + "test:debug": "node --nolazy --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --colors --verbose", + "build": "npm run clean && npm run build:esm", + "build:lint": "eslint -c .eslintrc.json --ext .ts ./src", + "build:esm": "tsc --project ./tsconfig.json", + "get-version": "node -e \"const { name, version } = require('./package.json'); console.log(`${name};${version}`);\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/dotnet/extensions.git" + }, + "author": "Microsoft", + "license": "MIT", + "bugs": { + "url": "https://github.com/dotnet/aspnetcore/issues" + }, + "homepage": "https://github.com/dotnet/aspnetcore/tree/main/src/JSInterop", + "files": [ + "dist/**" + ], + "devDependencies": { + "@babel/core": "^7.23.6", + "@babel/preset-env": "^7.23.6", + "@babel/preset-typescript": "^7.26.0", + "@typescript-eslint/eslint-plugin": "^6.15.0", + "@typescript-eslint/parser": "^6.15.0", + "babel-jest": "^29.7.0", + "eslint": "^8.56.0", + "eslint-plugin-jsdoc": "^46.9.1", + "eslint-plugin-prefer-arrow": "^1.2.3", + "jest": "^29.7.0", + "jest-environment-jsdom": "^29.7.0", + "jest-junit": "^16.0.0", + "rimraf": "^5.0.5", + "typescript": "^5.3.3" + } +} \ No newline at end of file diff --git a/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json b/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json index c9cc83805bbc..3f9769cdc736 100644 --- a/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json +++ b/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/signalr-protocol-msgpack", - "version": "5.0.0-dev", + "version": "10.0.0-dev", "description": "MsgPack Protocol support for ASP.NET Core SignalR", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", @@ -41,11 +41,11 @@ "src/**/*" ], "dependencies": { - "@microsoft/signalr": "*", + "@microsoft/signalr": ">=10.0.0-dev", "@msgpack/msgpack": "^2.7.0" }, "overrides": { "ws": ">=7.4.6", "tough-cookie": ">=4.1.3" } -} +} \ No newline at end of file diff --git a/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json.bak b/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json.bak new file mode 100644 index 000000000000..c9cc83805bbc --- /dev/null +++ b/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json.bak @@ -0,0 +1,51 @@ +{ + "name": "@microsoft/signalr-protocol-msgpack", + "version": "5.0.0-dev", + "description": "MsgPack Protocol support for ASP.NET Core SignalR", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "typings": "./dist/esm/index.d.ts", + "umd": "./dist/browser/signalr-protocol-msgpack.js", + "umd_name": "signalR.protocols.msgpack", + "unpkg": "./dist/browser/signalr-protocol-msgpack.js", + "directories": { + "test": "spec" + }, + "sideEffects": false, + "scripts": { + "clean": "rimraf ./dist", + "prebuild": "rimraf ./src/pkg-version.ts && node -e \"const fs = require('fs'); const packageJson = require('./package.json'); fs.writeFileSync('./src/pkg-version.ts', 'export const VERSION = \\'' + packageJson.version + '\\';');\"", + "build": "npm run build:esm && npm run build:cjs && npm run build:browser && npm run build:uglify", + "build:esm": "tsc --project ./tsconfig.json --module es2015 --outDir ./dist/esm -d", + "build:cjs": "tsc --project ./tsconfig.json --module commonjs --outDir ./dist/cjs", + "build:browser": "webpack-cli", + "build:uglify": "terser -m -c --ecma 2019 --module --source-map \"url='signalr-protocol-msgpack.min.js.map',content='./dist/browser/signalr-protocol-msgpack.js.map'\" --comments -o ./dist/browser/signalr-protocol-msgpack.min.js ./dist/browser/signalr-protocol-msgpack.js", + "get-version": "node -e \"const { name, version } = require('./package.json'); console.log(`${name};${version}`);\"" + }, + "keywords": [ + "signalr", + "aspnetcore" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/dotnet/aspnetcore.git" + }, + "author": "Microsoft", + "license": "MIT", + "bugs": { + "url": "https://github.com/dotnet/aspnetcore/issues" + }, + "homepage": "https://github.com/dotnet/aspnetcore/tree/main/src/SignalR#readme", + "files": [ + "dist/**/*", + "src/**/*" + ], + "dependencies": { + "@microsoft/signalr": "*", + "@msgpack/msgpack": "^2.7.0" + }, + "overrides": { + "ws": ">=7.4.6", + "tough-cookie": ">=4.1.3" + } +} diff --git a/src/SignalR/clients/ts/signalr/package.json b/src/SignalR/clients/ts/signalr/package.json index 805aed5a9bb2..a13e0ba8ee8b 100644 --- a/src/SignalR/clients/ts/signalr/package.json +++ b/src/SignalR/clients/ts/signalr/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/signalr", - "version": "5.0.0-dev", + "version": "10.0.0-dev", "description": "ASP.NET Core SignalR Client", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", diff --git a/src/SignalR/clients/ts/signalr/package.json.bak b/src/SignalR/clients/ts/signalr/package.json.bak new file mode 100644 index 000000000000..805aed5a9bb2 --- /dev/null +++ b/src/SignalR/clients/ts/signalr/package.json.bak @@ -0,0 +1,54 @@ +{ + "name": "@microsoft/signalr", + "version": "5.0.0-dev", + "description": "ASP.NET Core SignalR Client", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "typings": "./dist/esm/index.d.ts", + "umd": "./dist/browser/signalr.js", + "umd_name": "signalR", + "unpkg": "./dist/browser/signalr.js", + "directories": { + "test": "spec" + }, + "sideEffects": false, + "scripts": { + "clean": "rimraf ./dist", + "prebuild": "rimraf ./src/pkg-version.ts && node -e \"const fs = require('fs'); const packageJson = require('./package.json'); fs.writeFileSync('./src/pkg-version.ts', 'export const VERSION = \\'' + packageJson.version + '\\';');\"", + "build": "npm run build:esm && npm run build:cjs && npm run build:browser && npm run build:webworker", + "build:esm": "tsc --project ./tsconfig.json --module es2015 --outDir ./dist/esm -d", + "build:cjs": "tsc --project ./tsconfig.json --module commonjs --outDir ./dist/cjs", + "build:browser": "webpack-cli", + "build:webworker": "webpack-cli --env platform=webworker", + "get-version": "node -e \"const { name, version } = require('./package.json'); console.log(`${name};${version}`);\"" + }, + "keywords": [ + "signalr", + "aspnetcore" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/dotnet/aspnetcore.git" + }, + "author": "Microsoft", + "license": "MIT", + "bugs": { + "url": "https://github.com/dotnet/aspnetcore/issues" + }, + "homepage": "https://github.com/dotnet/aspnetcore/tree/main/src/SignalR#readme", + "files": [ + "dist/**/*", + "src/**/*" + ], + "dependencies": { + "abort-controller": "^3.0.0", + "eventsource": "^2.0.2", + "fetch-cookie": "^2.0.3", + "node-fetch": "^2.6.7", + "ws": "^7.5.10" + }, + "overrides": { + "ansi-regex": "5.0.1", + "tough-cookie": ">=4.1.3" + } +} From ef237ee7b2cd901051b37e5ea53ec6731b1948c1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 May 2025 05:15:16 +0000 Subject: [PATCH 4/9] Update snapshot tests for JsonPatchDocument content type Co-authored-by: captainsafia <1857993+captainsafia@users.noreply.github.com> --- src/OpenApi/sample/Sample.csproj | 1 + ...t_documentName=schemas-by-ref.verified.txt | 23 +++++++++++++++++++ ...t_documentName=schemas-by-ref.verified.txt | 23 +++++++++++++++++++ 3 files changed, 47 insertions(+) diff --git a/src/OpenApi/sample/Sample.csproj b/src/OpenApi/sample/Sample.csproj index f68e61f29ba8..457b8d6f8651 100644 --- a/src/OpenApi/sample/Sample.csproj +++ b/src/OpenApi/sample/Sample.csproj @@ -22,6 +22,7 @@ + diff --git a/src/OpenApi/test/Microsoft.AspNetCore.OpenApi.Tests/Integration/snapshots/OpenApi3_0/OpenApiDocumentIntegrationTests.VerifyOpenApiDocument_documentName=schemas-by-ref.verified.txt b/src/OpenApi/test/Microsoft.AspNetCore.OpenApi.Tests/Integration/snapshots/OpenApi3_0/OpenApiDocumentIntegrationTests.VerifyOpenApiDocument_documentName=schemas-by-ref.verified.txt index d512ac884eb9..1ea7808f7afc 100644 --- a/src/OpenApi/test/Microsoft.AspNetCore.OpenApi.Tests/Integration/snapshots/OpenApi3_0/OpenApiDocumentIntegrationTests.VerifyOpenApiDocument_documentName=schemas-by-ref.verified.txt +++ b/src/OpenApi/test/Microsoft.AspNetCore.OpenApi.Tests/Integration/snapshots/OpenApi3_0/OpenApiDocumentIntegrationTests.VerifyOpenApiDocument_documentName=schemas-by-ref.verified.txt @@ -507,6 +507,28 @@ } } } + }, + "/schemas-by-ref/json-patch": { + "patch": { + "tags": [ + "Sample" + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/JsonPatchDocumentOfParentObject" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } } }, "components": { @@ -593,6 +615,7 @@ } } }, + "JsonPatchDocumentOfParentObject": { }, "LocationContainer": { "required": [ "location" diff --git a/src/OpenApi/test/Microsoft.AspNetCore.OpenApi.Tests/Integration/snapshots/OpenApi3_1/OpenApiDocumentIntegrationTests.VerifyOpenApiDocument_documentName=schemas-by-ref.verified.txt b/src/OpenApi/test/Microsoft.AspNetCore.OpenApi.Tests/Integration/snapshots/OpenApi3_1/OpenApiDocumentIntegrationTests.VerifyOpenApiDocument_documentName=schemas-by-ref.verified.txt index 705e2527a13d..acd911123de5 100644 --- a/src/OpenApi/test/Microsoft.AspNetCore.OpenApi.Tests/Integration/snapshots/OpenApi3_1/OpenApiDocumentIntegrationTests.VerifyOpenApiDocument_documentName=schemas-by-ref.verified.txt +++ b/src/OpenApi/test/Microsoft.AspNetCore.OpenApi.Tests/Integration/snapshots/OpenApi3_1/OpenApiDocumentIntegrationTests.VerifyOpenApiDocument_documentName=schemas-by-ref.verified.txt @@ -507,6 +507,28 @@ } } } + }, + "/schemas-by-ref/json-patch": { + "patch": { + "tags": [ + "Sample" + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/JsonPatchDocumentOfParentObject" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } } }, "components": { @@ -593,6 +615,7 @@ } } }, + "JsonPatchDocumentOfParentObject": { }, "LocationContainer": { "required": [ "location" From 7548949137b55b240e0edfe42f2de0170da01185 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 May 2025 19:32:33 +0000 Subject: [PATCH 5/9] Revert package.json and package-lock.json changes and remove backup files Co-authored-by: captainsafia <1857993+captainsafia@users.noreply.github.com> --- package-lock.json | 4 +- .../Microsoft.JSInterop.JS/src/package.json | 2 +- .../src/package.json.bak | 47 ---------------- .../ts/signalr-protocol-msgpack/package.json | 6 +-- .../signalr-protocol-msgpack/package.json.bak | 51 ------------------ src/SignalR/clients/ts/signalr/package.json | 2 +- .../clients/ts/signalr/package.json.bak | 54 ------------------- 7 files changed, 7 insertions(+), 159 deletions(-) delete mode 100644 src/JSInterop/Microsoft.JSInterop.JS/src/package.json.bak delete mode 100644 src/SignalR/clients/ts/signalr-protocol-msgpack/package.json.bak delete mode 100644 src/SignalR/clients/ts/signalr/package.json.bak diff --git a/package-lock.json b/package-lock.json index a20b21f4d6d0..c9f11b07ccbc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18895,7 +18895,7 @@ }, "src/SignalR/clients/ts/signalr": { "name": "@microsoft/signalr", - "version": "10.0.0-dev", + "version": "5.0.0-dev", "license": "MIT", "dependencies": { "abort-controller": "^3.0.0", @@ -18907,7 +18907,7 @@ }, "src/SignalR/clients/ts/signalr-protocol-msgpack": { "name": "@microsoft/signalr-protocol-msgpack", - "version": "10.0.0-dev", + "version": "5.0.0-dev", "license": "MIT", "dependencies": { "@microsoft/signalr": "*", diff --git a/src/JSInterop/Microsoft.JSInterop.JS/src/package.json b/src/JSInterop/Microsoft.JSInterop.JS/src/package.json index 8f480f3052c6..4a91339cf24f 100644 --- a/src/JSInterop/Microsoft.JSInterop.JS/src/package.json +++ b/src/JSInterop/Microsoft.JSInterop.JS/src/package.json @@ -44,4 +44,4 @@ "rimraf": "^5.0.5", "typescript": "^5.3.3" } -} +} \ No newline at end of file diff --git a/src/JSInterop/Microsoft.JSInterop.JS/src/package.json.bak b/src/JSInterop/Microsoft.JSInterop.JS/src/package.json.bak deleted file mode 100644 index 4a91339cf24f..000000000000 --- a/src/JSInterop/Microsoft.JSInterop.JS/src/package.json.bak +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "@microsoft/dotnet-js-interop", - "version": "10.0.0-dev", - "description": "Provides abstractions and features for interop between .NET and JavaScript code.", - "main": "dist/src/Microsoft.JSInterop.js", - "types": "dist/src/Microsoft.JSInterop.d.ts", - "type": "module", - "scripts": { - "clean": "rimraf ./dist", - "test": "jest", - "test:watch": "jest --watch", - "test:debug": "node --nolazy --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --colors --verbose", - "build": "npm run clean && npm run build:esm", - "build:lint": "eslint -c .eslintrc.json --ext .ts ./src", - "build:esm": "tsc --project ./tsconfig.json", - "get-version": "node -e \"const { name, version } = require('./package.json'); console.log(`${name};${version}`);\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/dotnet/extensions.git" - }, - "author": "Microsoft", - "license": "MIT", - "bugs": { - "url": "https://github.com/dotnet/aspnetcore/issues" - }, - "homepage": "https://github.com/dotnet/aspnetcore/tree/main/src/JSInterop", - "files": [ - "dist/**" - ], - "devDependencies": { - "@babel/core": "^7.23.6", - "@babel/preset-env": "^7.23.6", - "@babel/preset-typescript": "^7.26.0", - "@typescript-eslint/eslint-plugin": "^6.15.0", - "@typescript-eslint/parser": "^6.15.0", - "babel-jest": "^29.7.0", - "eslint": "^8.56.0", - "eslint-plugin-jsdoc": "^46.9.1", - "eslint-plugin-prefer-arrow": "^1.2.3", - "jest": "^29.7.0", - "jest-environment-jsdom": "^29.7.0", - "jest-junit": "^16.0.0", - "rimraf": "^5.0.5", - "typescript": "^5.3.3" - } -} \ No newline at end of file diff --git a/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json b/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json index 3f9769cdc736..c9cc83805bbc 100644 --- a/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json +++ b/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/signalr-protocol-msgpack", - "version": "10.0.0-dev", + "version": "5.0.0-dev", "description": "MsgPack Protocol support for ASP.NET Core SignalR", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", @@ -41,11 +41,11 @@ "src/**/*" ], "dependencies": { - "@microsoft/signalr": ">=10.0.0-dev", + "@microsoft/signalr": "*", "@msgpack/msgpack": "^2.7.0" }, "overrides": { "ws": ">=7.4.6", "tough-cookie": ">=4.1.3" } -} \ No newline at end of file +} diff --git a/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json.bak b/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json.bak deleted file mode 100644 index c9cc83805bbc..000000000000 --- a/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json.bak +++ /dev/null @@ -1,51 +0,0 @@ -{ - "name": "@microsoft/signalr-protocol-msgpack", - "version": "5.0.0-dev", - "description": "MsgPack Protocol support for ASP.NET Core SignalR", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "typings": "./dist/esm/index.d.ts", - "umd": "./dist/browser/signalr-protocol-msgpack.js", - "umd_name": "signalR.protocols.msgpack", - "unpkg": "./dist/browser/signalr-protocol-msgpack.js", - "directories": { - "test": "spec" - }, - "sideEffects": false, - "scripts": { - "clean": "rimraf ./dist", - "prebuild": "rimraf ./src/pkg-version.ts && node -e \"const fs = require('fs'); const packageJson = require('./package.json'); fs.writeFileSync('./src/pkg-version.ts', 'export const VERSION = \\'' + packageJson.version + '\\';');\"", - "build": "npm run build:esm && npm run build:cjs && npm run build:browser && npm run build:uglify", - "build:esm": "tsc --project ./tsconfig.json --module es2015 --outDir ./dist/esm -d", - "build:cjs": "tsc --project ./tsconfig.json --module commonjs --outDir ./dist/cjs", - "build:browser": "webpack-cli", - "build:uglify": "terser -m -c --ecma 2019 --module --source-map \"url='signalr-protocol-msgpack.min.js.map',content='./dist/browser/signalr-protocol-msgpack.js.map'\" --comments -o ./dist/browser/signalr-protocol-msgpack.min.js ./dist/browser/signalr-protocol-msgpack.js", - "get-version": "node -e \"const { name, version } = require('./package.json'); console.log(`${name};${version}`);\"" - }, - "keywords": [ - "signalr", - "aspnetcore" - ], - "repository": { - "type": "git", - "url": "git+https://github.com/dotnet/aspnetcore.git" - }, - "author": "Microsoft", - "license": "MIT", - "bugs": { - "url": "https://github.com/dotnet/aspnetcore/issues" - }, - "homepage": "https://github.com/dotnet/aspnetcore/tree/main/src/SignalR#readme", - "files": [ - "dist/**/*", - "src/**/*" - ], - "dependencies": { - "@microsoft/signalr": "*", - "@msgpack/msgpack": "^2.7.0" - }, - "overrides": { - "ws": ">=7.4.6", - "tough-cookie": ">=4.1.3" - } -} diff --git a/src/SignalR/clients/ts/signalr/package.json b/src/SignalR/clients/ts/signalr/package.json index a13e0ba8ee8b..805aed5a9bb2 100644 --- a/src/SignalR/clients/ts/signalr/package.json +++ b/src/SignalR/clients/ts/signalr/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/signalr", - "version": "10.0.0-dev", + "version": "5.0.0-dev", "description": "ASP.NET Core SignalR Client", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", diff --git a/src/SignalR/clients/ts/signalr/package.json.bak b/src/SignalR/clients/ts/signalr/package.json.bak deleted file mode 100644 index 805aed5a9bb2..000000000000 --- a/src/SignalR/clients/ts/signalr/package.json.bak +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "@microsoft/signalr", - "version": "5.0.0-dev", - "description": "ASP.NET Core SignalR Client", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "typings": "./dist/esm/index.d.ts", - "umd": "./dist/browser/signalr.js", - "umd_name": "signalR", - "unpkg": "./dist/browser/signalr.js", - "directories": { - "test": "spec" - }, - "sideEffects": false, - "scripts": { - "clean": "rimraf ./dist", - "prebuild": "rimraf ./src/pkg-version.ts && node -e \"const fs = require('fs'); const packageJson = require('./package.json'); fs.writeFileSync('./src/pkg-version.ts', 'export const VERSION = \\'' + packageJson.version + '\\';');\"", - "build": "npm run build:esm && npm run build:cjs && npm run build:browser && npm run build:webworker", - "build:esm": "tsc --project ./tsconfig.json --module es2015 --outDir ./dist/esm -d", - "build:cjs": "tsc --project ./tsconfig.json --module commonjs --outDir ./dist/cjs", - "build:browser": "webpack-cli", - "build:webworker": "webpack-cli --env platform=webworker", - "get-version": "node -e \"const { name, version } = require('./package.json'); console.log(`${name};${version}`);\"" - }, - "keywords": [ - "signalr", - "aspnetcore" - ], - "repository": { - "type": "git", - "url": "git+https://github.com/dotnet/aspnetcore.git" - }, - "author": "Microsoft", - "license": "MIT", - "bugs": { - "url": "https://github.com/dotnet/aspnetcore/issues" - }, - "homepage": "https://github.com/dotnet/aspnetcore/tree/main/src/SignalR#readme", - "files": [ - "dist/**/*", - "src/**/*" - ], - "dependencies": { - "abort-controller": "^3.0.0", - "eventsource": "^2.0.2", - "fetch-cookie": "^2.0.3", - "node-fetch": "^2.6.7", - "ws": "^7.5.10" - }, - "overrides": { - "ansi-regex": "5.0.1", - "tough-cookie": ">=4.1.3" - } -} From 20c16b20d3e09af9537e5ba2c24dedc7250744e8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 May 2025 19:59:39 +0000 Subject: [PATCH 6/9] Fix JsonPatchDocument review feedback Co-authored-by: captainsafia <1857993+captainsafia@users.noreply.github.com> --- .../JsonPatch.SystemTextJson/src/JsonPatchDocument.cs | 4 +--- .../JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs | 4 +--- .../JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt | 2 ++ src/Features/JsonPatch/src/JsonPatchDocument.cs | 4 +--- src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs | 4 +--- 5 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocument.cs b/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocument.cs index 2c6f183f0eb1..f3ecbf8ccb8c 100644 --- a/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocument.cs +++ b/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocument.cs @@ -227,13 +227,11 @@ IList IJsonPatchDocument.GetOperations() /// /// The for the endpoint parameter. /// The endpoint builder for the endpoint being constructed. -#pragma warning disable RS0016 // Add public types and members to the declared API public static void PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) -#pragma warning restore RS0016 // Add public types and members to the declared API { ArgumentNullException.ThrowIfNull(parameter); ArgumentNullException.ThrowIfNull(builder); - builder.Metadata.Add(new AcceptsMetadata(new[] { "application/json-patch+json" }, parameter.ParameterType)); + builder.Metadata.Add(new AcceptsMetadata(["application/json-patch+json"], parameter.ParameterType)); } } diff --git a/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs b/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs index 28c36ceb6be7..53328e090c0c 100644 --- a/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs +++ b/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs @@ -664,14 +664,12 @@ IList IJsonPatchDocument.GetOperations() /// /// The for the endpoint parameter. /// The endpoint builder for the endpoint being constructed. -#pragma warning disable RS0016 // Add public types and members to the declared API public static void PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) -#pragma warning restore RS0016 // Add public types and members to the declared API { ArgumentNullException.ThrowIfNull(parameter); ArgumentNullException.ThrowIfNull(builder); - builder.Metadata.Add(new AcceptsMetadata(new[] { "application/json-patch+json" }, parameter.ParameterType)); + builder.Metadata.Add(new AcceptsMetadata(["application/json-patch+json"], typeof(TModel))); } // Internal for testing diff --git a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt index e2421fc8af3c..8acbc45747bf 100644 --- a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt +++ b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt @@ -6,6 +6,7 @@ Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions.JsonPatchException.Json Microsoft.AspNetCore.JsonPatch.SystemTextJson.IJsonPatchDocument Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.JsonPatchDocument() -> void +Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.JsonPatchDocument() -> void Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation @@ -52,6 +53,7 @@ Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType.Test = 5 ~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.SerializerOptions.set -> void ~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Test(string path, object value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument ~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void ~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Add(System.Linq.Expressions.Expression>> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument ~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Add(System.Linq.Expressions.Expression>> path, TProp value, int position) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument ~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Add(System.Linq.Expressions.Expression> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument diff --git a/src/Features/JsonPatch/src/JsonPatchDocument.cs b/src/Features/JsonPatch/src/JsonPatchDocument.cs index ffce5fd769fd..3820ed870e24 100644 --- a/src/Features/JsonPatch/src/JsonPatchDocument.cs +++ b/src/Features/JsonPatch/src/JsonPatchDocument.cs @@ -235,14 +235,12 @@ IList IJsonPatchDocument.GetOperations() /// /// The for the endpoint parameter. /// The endpoint builder for the endpoint being constructed. -#pragma warning disable RS0016 // Add public types and members to the declared API public static void PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) -#pragma warning restore RS0016 // Add public types and members to the declared API { ArgumentNullException.ThrowIfNull(parameter); ArgumentNullException.ThrowIfNull(builder); - builder.Metadata.Add(new AcceptsMetadata(new[] { "application/json-patch+json" }, parameter.ParameterType)); + builder.Metadata.Add(new AcceptsMetadata(["application/json-patch+json"], parameter.ParameterType)); } #endif } diff --git a/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs b/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs index b4143fc25008..834f32d4727c 100644 --- a/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs +++ b/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs @@ -672,14 +672,12 @@ IList IJsonPatchDocument.GetOperations() /// /// The for the endpoint parameter. /// The endpoint builder for the endpoint being constructed. -#pragma warning disable RS0016 // Add public types and members to the declared API public static void PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) -#pragma warning restore RS0016 // Add public types and members to the declared API { ArgumentNullException.ThrowIfNull(parameter); ArgumentNullException.ThrowIfNull(builder); - builder.Metadata.Add(new AcceptsMetadata(new[] { "application/json-patch+json" }, parameter.ParameterType)); + builder.Metadata.Add(new AcceptsMetadata(["application/json-patch+json"], typeof(TModel))); } #endif From fca0801b06a7c961da333f8a7acdcd7a7bfb36f4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 May 2025 20:07:54 +0000 Subject: [PATCH 7/9] Update PublicAPI structure for JsonPatchDocument Co-authored-by: captainsafia <1857993+captainsafia@users.noreply.github.com> --- ...AspNetCore.JsonPatch.SystemTextJson.csproj | 5 + .../src/PublicAPI.Shipped.txt | 1 - .../src/PublicAPI.Unshipped.txt | 108 -------- .../PublicAPI/net10.0/PublicAPI.Shipped.txt | 1 + .../PublicAPI/net10.0/PublicAPI.Unshipped.txt | 3 + .../netstandard2.0/PublicAPI.Shipped.txt | 1 + .../netstandard2.0/PublicAPI.Unshipped.txt | 1 + .../src/Microsoft.AspNetCore.JsonPatch.csproj | 5 + .../JsonPatch/src/PublicAPI.Shipped.txt | 234 ------------------ .../JsonPatch/src/PublicAPI.Unshipped.txt | 1 - .../PublicAPI/net10.0/PublicAPI.Shipped.txt | 1 + .../PublicAPI/net10.0/PublicAPI.Unshipped.txt | 3 + .../PublicAPI/net462/PublicAPI.Shipped.txt | 1 + .../PublicAPI/net462/PublicAPI.Unshipped.txt | 1 + .../netstandard2.0/PublicAPI.Shipped.txt | 1 + .../netstandard2.0/PublicAPI.Unshipped.txt | 1 + 16 files changed, 24 insertions(+), 344 deletions(-) delete mode 100644 src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Shipped.txt delete mode 100644 src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt create mode 100644 src/Features/JsonPatch.SystemTextJson/src/PublicAPI/net10.0/PublicAPI.Shipped.txt create mode 100644 src/Features/JsonPatch.SystemTextJson/src/PublicAPI/net10.0/PublicAPI.Unshipped.txt create mode 100644 src/Features/JsonPatch.SystemTextJson/src/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt create mode 100644 src/Features/JsonPatch.SystemTextJson/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt delete mode 100644 src/Features/JsonPatch/src/PublicAPI.Shipped.txt delete mode 100644 src/Features/JsonPatch/src/PublicAPI.Unshipped.txt create mode 100644 src/Features/JsonPatch/src/PublicAPI/net10.0/PublicAPI.Shipped.txt create mode 100644 src/Features/JsonPatch/src/PublicAPI/net10.0/PublicAPI.Unshipped.txt create mode 100644 src/Features/JsonPatch/src/PublicAPI/net462/PublicAPI.Shipped.txt create mode 100644 src/Features/JsonPatch/src/PublicAPI/net462/PublicAPI.Unshipped.txt create mode 100644 src/Features/JsonPatch/src/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt create mode 100644 src/Features/JsonPatch/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt diff --git a/src/Features/JsonPatch.SystemTextJson/src/Microsoft.AspNetCore.JsonPatch.SystemTextJson.csproj b/src/Features/JsonPatch.SystemTextJson/src/Microsoft.AspNetCore.JsonPatch.SystemTextJson.csproj index 434a8cf7373a..162761ca7e23 100644 --- a/src/Features/JsonPatch.SystemTextJson/src/Microsoft.AspNetCore.JsonPatch.SystemTextJson.csproj +++ b/src/Features/JsonPatch.SystemTextJson/src/Microsoft.AspNetCore.JsonPatch.SystemTextJson.csproj @@ -16,6 +16,11 @@ + + + + + diff --git a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Shipped.txt b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Shipped.txt deleted file mode 100644 index 7dc5c58110bf..000000000000 --- a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Shipped.txt +++ /dev/null @@ -1 +0,0 @@ -#nullable enable diff --git a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt deleted file mode 100644 index 8acbc45747bf..000000000000 --- a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt +++ /dev/null @@ -1,108 +0,0 @@ -#nullable enable -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapterWithTest -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions.JsonPatchException -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions.JsonPatchException.JsonPatchException() -> void -Microsoft.AspNetCore.JsonPatch.SystemTextJson.IJsonPatchDocument -Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.JsonPatchDocument() -> void -Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void -Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.JsonPatchDocument() -> void -Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.Operation() -> void -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.Operation() -> void -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.OperationBase() -> void -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.OperationType.get -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.ShouldSerializeFrom() -> bool -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType.Add = 0 -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType.Copy = 4 -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType.Invalid = 6 -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType.Move = 3 -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType.Remove = 1 -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType.Replace = 2 -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType -Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType.Test = 5 -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter.Add(Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter.Copy(Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter.Move(Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter.Remove(Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter.Replace(Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapterWithTest.Test(Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions.JsonPatchException.AffectedObject.get -> object -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions.JsonPatchException.FailedOperation.get -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions.JsonPatchException.JsonPatchException(Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError jsonPatchError) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions.JsonPatchException.JsonPatchException(Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError jsonPatchError, System.Exception innerException) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions.JsonPatchException.JsonPatchException(string message, System.Exception innerException) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.IJsonPatchDocument.GetOperations() -> System.Collections.Generic.IList -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.IJsonPatchDocument.SerializerOptions.get -> System.Text.Json.JsonSerializerOptions -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.IJsonPatchDocument.SerializerOptions.set -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Add(string path, object value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.ApplyTo(object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.ApplyTo(object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter adapter) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.ApplyTo(object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter adapter, System.Action logErrorAction) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.ApplyTo(object objectToApplyTo, System.Action logErrorAction) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Copy(string from, string path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.JsonPatchDocument(System.Collections.Generic.List operations, System.Text.Json.JsonSerializerOptions serializerOptions) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Move(string from, string path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Operations.get -> System.Collections.Generic.List -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Remove(string path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Replace(string path, object value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.SerializerOptions.get -> System.Text.Json.JsonSerializerOptions -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.SerializerOptions.set -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Test(string path, object value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Add(System.Linq.Expressions.Expression>> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Add(System.Linq.Expressions.Expression>> path, TProp value, int position) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Add(System.Linq.Expressions.Expression> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.ApplyTo(TModel objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.ApplyTo(TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter adapter) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.ApplyTo(TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter adapter, System.Action logErrorAction) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.ApplyTo(TModel objectToApplyTo, System.Action logErrorAction) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Copy(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Copy(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path, int positionTo) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Copy(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Copy(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Copy(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path, int positionTo) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Copy(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.JsonPatchDocument(System.Collections.Generic.List> operations, System.Text.Json.JsonSerializerOptions serializerOptions) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Move(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Move(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path, int positionTo) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Move(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Move(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Move(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path, int positionTo) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Move(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Operations.get -> System.Collections.Generic.List> -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Remove(System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Remove(System.Linq.Expressions.Expression>> path, int position) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Remove(System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Replace(System.Linq.Expressions.Expression>> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Replace(System.Linq.Expressions.Expression>> path, TProp value, int position) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Replace(System.Linq.Expressions.Expression> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.SerializerOptions.get -> System.Text.Json.JsonSerializerOptions -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.SerializerOptions.set -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Test(System.Linq.Expressions.Expression>> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Test(System.Linq.Expressions.Expression>> path, TProp value, int position) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Test(System.Linq.Expressions.Expression> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError.AffectedObject.get -> object -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError.ErrorMessage.get -> string -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError.JsonPatchError(object affectedObject, Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation operation, string errorMessage) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError.Operation.get -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.Apply(object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter adapter) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.Operation(string op, string path, string from) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.Operation(string op, string path, string from, object value) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.value.get -> object -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.value.set -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.Apply(TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter adapter) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.Operation(string op, string path, string from) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.Operation(string op, string path, string from, object value) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.from.get -> string -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.from.set -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.op.get -> string -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.op.set -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.OperationBase(string op, string path, string from) -> void -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.path.get -> string -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.path.set -> void diff --git a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/net10.0/PublicAPI.Shipped.txt b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/net10.0/PublicAPI.Shipped.txt new file mode 100644 index 000000000000..815c92006af7 --- /dev/null +++ b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/net10.0/PublicAPI.Shipped.txt @@ -0,0 +1 @@ +#nullable enable \ No newline at end of file diff --git a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/net10.0/PublicAPI.Unshipped.txt b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/net10.0/PublicAPI.Unshipped.txt new file mode 100644 index 000000000000..382b3dfa6654 --- /dev/null +++ b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/net10.0/PublicAPI.Unshipped.txt @@ -0,0 +1,3 @@ +#nullable enable +Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void +Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void \ No newline at end of file diff --git a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt new file mode 100644 index 000000000000..815c92006af7 --- /dev/null +++ b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt @@ -0,0 +1 @@ +#nullable enable \ No newline at end of file diff --git a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt new file mode 100644 index 000000000000..815c92006af7 --- /dev/null +++ b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt @@ -0,0 +1 @@ +#nullable enable \ No newline at end of file diff --git a/src/Features/JsonPatch/src/Microsoft.AspNetCore.JsonPatch.csproj b/src/Features/JsonPatch/src/Microsoft.AspNetCore.JsonPatch.csproj index 65f81617bc6e..063436f41eb5 100644 --- a/src/Features/JsonPatch/src/Microsoft.AspNetCore.JsonPatch.csproj +++ b/src/Features/JsonPatch/src/Microsoft.AspNetCore.JsonPatch.csproj @@ -16,6 +16,11 @@ + + + + + diff --git a/src/Features/JsonPatch/src/PublicAPI.Shipped.txt b/src/Features/JsonPatch/src/PublicAPI.Shipped.txt deleted file mode 100644 index 1601735c1231..000000000000 --- a/src/Features/JsonPatch/src/PublicAPI.Shipped.txt +++ /dev/null @@ -1,234 +0,0 @@ -#nullable enable -~Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory.Create(object target, Newtonsoft.Json.Serialization.IContractResolver contractResolver) -> Microsoft.AspNetCore.JsonPatch.Internal.IAdapter -~Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter.Add(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter.Copy(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter.Move(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter.Remove(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter.Replace(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapterWithTest.Test(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.AdapterFactory.get -> Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory -~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.Add(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.ContractResolver.get -> Newtonsoft.Json.Serialization.IContractResolver -~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.Copy(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.LogErrorAction.get -> System.Action -~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.Move(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.ObjectAdapter(Newtonsoft.Json.Serialization.IContractResolver contractResolver, System.Action logErrorAction) -> void -~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.ObjectAdapter(Newtonsoft.Json.Serialization.IContractResolver contractResolver, System.Action logErrorAction, Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory adapterFactory) -> void -~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.Remove(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.Replace(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.Test(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.Exceptions.JsonPatchException.AffectedObject.get -> object -~Microsoft.AspNetCore.JsonPatch.Exceptions.JsonPatchException.FailedOperation.get -> Microsoft.AspNetCore.JsonPatch.Operations.Operation -~Microsoft.AspNetCore.JsonPatch.Exceptions.JsonPatchException.JsonPatchException(Microsoft.AspNetCore.JsonPatch.JsonPatchError jsonPatchError) -> void -~Microsoft.AspNetCore.JsonPatch.Exceptions.JsonPatchException.JsonPatchException(Microsoft.AspNetCore.JsonPatch.JsonPatchError jsonPatchError, System.Exception innerException) -> void -~Microsoft.AspNetCore.JsonPatch.Exceptions.JsonPatchException.JsonPatchException(string message, System.Exception innerException) -> void -~Microsoft.AspNetCore.JsonPatch.Helpers.GetValueResult.GetValueResult(object propertyValue, bool hasError) -> void -~Microsoft.AspNetCore.JsonPatch.Helpers.GetValueResult.PropertyValue.get -> object -~Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument.ContractResolver.get -> Newtonsoft.Json.Serialization.IContractResolver -~Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument.ContractResolver.set -> void -~Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument.GetOperations() -> System.Collections.Generic.IList -~Microsoft.AspNetCore.JsonPatch.Internal.ConversionResult.ConversionResult(bool canBeConverted, object convertedInstance) -> void -~Microsoft.AspNetCore.JsonPatch.Internal.ConversionResult.ConvertedInstance.get -> object -~Microsoft.AspNetCore.JsonPatch.Internal.IAdapter.TryAdd(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~Microsoft.AspNetCore.JsonPatch.Internal.IAdapter.TryGet(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) -> bool -~Microsoft.AspNetCore.JsonPatch.Internal.IAdapter.TryRemove(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out string errorMessage) -> bool -~Microsoft.AspNetCore.JsonPatch.Internal.IAdapter.TryReplace(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~Microsoft.AspNetCore.JsonPatch.Internal.IAdapter.TryTest(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~Microsoft.AspNetCore.JsonPatch.Internal.IAdapter.TryTraverse(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object nextTarget, out string errorMessage) -> bool -~Microsoft.AspNetCore.JsonPatch.Internal.ObjectVisitor.ObjectVisitor(Microsoft.AspNetCore.JsonPatch.Internal.ParsedPath path, Newtonsoft.Json.Serialization.IContractResolver contractResolver) -> void -~Microsoft.AspNetCore.JsonPatch.Internal.ObjectVisitor.ObjectVisitor(Microsoft.AspNetCore.JsonPatch.Internal.ParsedPath path, Newtonsoft.Json.Serialization.IContractResolver contractResolver, Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory adapterFactory) -> void -~Microsoft.AspNetCore.JsonPatch.Internal.ObjectVisitor.TryVisit(ref object target, out Microsoft.AspNetCore.JsonPatch.Internal.IAdapter adapter, out string errorMessage) -> bool -~Microsoft.AspNetCore.JsonPatch.Internal.ParsedPath.LastSegment.get -> string -~Microsoft.AspNetCore.JsonPatch.Internal.ParsedPath.ParsedPath(string path) -> void -~Microsoft.AspNetCore.JsonPatch.Internal.ParsedPath.Segments.get -> System.Collections.Generic.IReadOnlyList -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Add(string path, object value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ApplyTo(object objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ApplyTo(object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter) -> void -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ApplyTo(object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter, System.Action logErrorAction) -> void -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ApplyTo(object objectToApplyTo, System.Action logErrorAction) -> void -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ContractResolver.get -> Newtonsoft.Json.Serialization.IContractResolver -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ContractResolver.set -> void -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Copy(string from, string path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.JsonPatchDocument(System.Collections.Generic.List operations, Newtonsoft.Json.Serialization.IContractResolver contractResolver) -> void -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Move(string from, string path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Operations.get -> System.Collections.Generic.List -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Remove(string path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Replace(string path, object value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Test(string path, object value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Add(System.Linq.Expressions.Expression>> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Add(System.Linq.Expressions.Expression>> path, TProp value, int position) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Add(System.Linq.Expressions.Expression> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ApplyTo(TModel objectToApplyTo) -> void -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ApplyTo(TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter) -> void -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ApplyTo(TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter, System.Action logErrorAction) -> void -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ApplyTo(TModel objectToApplyTo, System.Action logErrorAction) -> void -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ContractResolver.get -> Newtonsoft.Json.Serialization.IContractResolver -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ContractResolver.set -> void -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Copy(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Copy(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path, int positionTo) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Copy(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Copy(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Copy(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path, int positionTo) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Copy(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.JsonPatchDocument(System.Collections.Generic.List> operations, Newtonsoft.Json.Serialization.IContractResolver contractResolver) -> void -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Move(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Move(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path, int positionTo) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Move(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Move(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Move(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path, int positionTo) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Move(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Operations.get -> System.Collections.Generic.List> -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Remove(System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Remove(System.Linq.Expressions.Expression>> path, int position) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Remove(System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Replace(System.Linq.Expressions.Expression>> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Replace(System.Linq.Expressions.Expression>> path, TProp value, int position) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Replace(System.Linq.Expressions.Expression> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Test(System.Linq.Expressions.Expression>> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Test(System.Linq.Expressions.Expression>> path, TProp value, int position) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Test(System.Linq.Expressions.Expression> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.JsonPatchError.AffectedObject.get -> object -~Microsoft.AspNetCore.JsonPatch.JsonPatchError.ErrorMessage.get -> string -~Microsoft.AspNetCore.JsonPatch.JsonPatchError.JsonPatchError(object affectedObject, Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, string errorMessage) -> void -~Microsoft.AspNetCore.JsonPatch.JsonPatchError.Operation.get -> Microsoft.AspNetCore.JsonPatch.Operations.Operation -~Microsoft.AspNetCore.JsonPatch.JsonPatchProperty.JsonPatchProperty(Newtonsoft.Json.Serialization.JsonProperty property, object parent) -> void -~Microsoft.AspNetCore.JsonPatch.JsonPatchProperty.Parent.get -> object -~Microsoft.AspNetCore.JsonPatch.JsonPatchProperty.Parent.set -> void -~Microsoft.AspNetCore.JsonPatch.JsonPatchProperty.Property.get -> Newtonsoft.Json.Serialization.JsonProperty -~Microsoft.AspNetCore.JsonPatch.JsonPatchProperty.Property.set -> void -~Microsoft.AspNetCore.JsonPatch.Operations.Operation.Apply(object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter) -> void -~Microsoft.AspNetCore.JsonPatch.Operations.Operation.Operation(string op, string path, string from) -> void -~Microsoft.AspNetCore.JsonPatch.Operations.Operation.Operation(string op, string path, string from, object value) -> void -~Microsoft.AspNetCore.JsonPatch.Operations.Operation.value.get -> object -~Microsoft.AspNetCore.JsonPatch.Operations.Operation.value.set -> void -~Microsoft.AspNetCore.JsonPatch.Operations.Operation -~Microsoft.AspNetCore.JsonPatch.Operations.Operation.Apply(TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter) -> void -~Microsoft.AspNetCore.JsonPatch.Operations.Operation.Operation(string op, string path, string from) -> void -~Microsoft.AspNetCore.JsonPatch.Operations.Operation.Operation(string op, string path, string from, object value) -> void -~Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.from.get -> string -~Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.from.set -> void -~Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.op.get -> string -~Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.op.set -> void -~Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.OperationBase(string op, string path, string from) -> void -~Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.path.get -> string -~Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.path.set -> void -~override Microsoft.AspNetCore.JsonPatch.Converters.JsonPatchDocumentConverter.CanConvert(System.Type objectType) -> bool -~override Microsoft.AspNetCore.JsonPatch.Converters.JsonPatchDocumentConverter.ReadJson(Newtonsoft.Json.JsonReader reader, System.Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer) -> object -~override Microsoft.AspNetCore.JsonPatch.Converters.JsonPatchDocumentConverter.WriteJson(Newtonsoft.Json.JsonWriter writer, object value, Newtonsoft.Json.JsonSerializer serializer) -> void -~override Microsoft.AspNetCore.JsonPatch.Converters.TypedJsonPatchDocumentConverter.ReadJson(Newtonsoft.Json.JsonReader reader, System.Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer) -> object -~static Microsoft.AspNetCore.JsonPatch.Internal.ConversionResultProvider.ConvertTo(object value, System.Type typeToConvertTo) -> Microsoft.AspNetCore.JsonPatch.Internal.ConversionResult -~static Microsoft.AspNetCore.JsonPatch.Internal.ConversionResultProvider.CopyTo(object value, System.Type typeToConvertTo) -> Microsoft.AspNetCore.JsonPatch.Internal.ConversionResult -~virtual Microsoft.AspNetCore.JsonPatch.Adapters.AdapterFactory.Create(object target, Newtonsoft.Json.Serialization.IContractResolver contractResolver) -> Microsoft.AspNetCore.JsonPatch.Internal.IAdapter -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryAdd(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryConvertKey(string key, out TKey convertedKey, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryConvertValue(object value, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out TValue convertedValue, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryConvertValue(object value, out TValue convertedValue, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryGet(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryRemove(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryReplace(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryTest(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryTraverse(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object nextTarget, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryAdd(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryConvertValue(object value, System.Type propertyType, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object convertedValue) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryConvertValue(object value, System.Type propertyType, out object convertedValue) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryGet(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryGetDynamicObjectProperty(object target, Newtonsoft.Json.Serialization.IContractResolver contractResolver, string segment, out object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryRemove(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryReplace(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TrySetDynamicObjectProperty(object target, Newtonsoft.Json.Serialization.IContractResolver contractResolver, string segment, object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryTest(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryTraverse(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object nextTarget, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.JObjectAdapter.TryAdd(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.JObjectAdapter.TryGet(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.JObjectAdapter.TryRemove(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.JObjectAdapter.TryReplace(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.JObjectAdapter.TryTest(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.JObjectAdapter.TryTraverse(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object nextTarget, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryAdd(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryConvertValue(object originalValue, System.Type listTypeArgument, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object convertedValue, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryConvertValue(object originalValue, System.Type listTypeArgument, string segment, out object convertedValue, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryGet(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryGetListTypeArgument(System.Collections.IList list, out System.Type listTypeArgument, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryGetPositionInfo(System.Collections.IList list, string segment, Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType operationType, out Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionInfo positionInfo, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryRemove(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryReplace(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryTest(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryTraverse(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryAdd(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryConvertValue(object value, System.Type propertyType, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object convertedValue) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryConvertValue(object value, System.Type propertyType, out object convertedValue) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryGet(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryGetJsonProperty(object target, Newtonsoft.Json.Serialization.IContractResolver contractResolver, string segment, out Newtonsoft.Json.Serialization.JsonProperty jsonProperty) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryRemove(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryReplace(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryTest(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool -~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryTraverse(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) -> bool -Microsoft.AspNetCore.JsonPatch.Adapters.AdapterFactory -Microsoft.AspNetCore.JsonPatch.Adapters.AdapterFactory.AdapterFactory() -> void -Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory -Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter -Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapterWithTest -Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter -Microsoft.AspNetCore.JsonPatch.Converters.JsonPatchDocumentConverter -Microsoft.AspNetCore.JsonPatch.Converters.JsonPatchDocumentConverter.JsonPatchDocumentConverter() -> void -Microsoft.AspNetCore.JsonPatch.Converters.TypedJsonPatchDocumentConverter -Microsoft.AspNetCore.JsonPatch.Converters.TypedJsonPatchDocumentConverter.TypedJsonPatchDocumentConverter() -> void -Microsoft.AspNetCore.JsonPatch.Exceptions.JsonPatchException -Microsoft.AspNetCore.JsonPatch.Exceptions.JsonPatchException.JsonPatchException() -> void -Microsoft.AspNetCore.JsonPatch.Helpers.GetValueResult -Microsoft.AspNetCore.JsonPatch.Helpers.GetValueResult.HasError.get -> bool -Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument -Microsoft.AspNetCore.JsonPatch.Internal.ConversionResult -Microsoft.AspNetCore.JsonPatch.Internal.ConversionResult.CanBeConverted.get -> bool -Microsoft.AspNetCore.JsonPatch.Internal.ConversionResultProvider -Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter -Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.DictionaryAdapter() -> void -Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter -Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.DynamicObjectAdapter() -> void -Microsoft.AspNetCore.JsonPatch.Internal.IAdapter -Microsoft.AspNetCore.JsonPatch.Internal.JObjectAdapter -Microsoft.AspNetCore.JsonPatch.Internal.JObjectAdapter.JObjectAdapter() -> void -Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter -Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.ListAdapter() -> void -Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType -Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType.Add = 0 -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType -Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType.Get = 2 -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType -Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType.Remove = 1 -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType -Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType.Replace = 3 -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType -Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionInfo -Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionInfo.Index.get -> int -Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionInfo.PositionInfo() -> void -Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionInfo.PositionInfo(Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType type, int index) -> void -Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionInfo.Type.get -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType -Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType -Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType.EndOfList = 1 -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType -Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType.Index = 0 -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType -Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType.Invalid = 2 -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType -Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType.OutOfBounds = 3 -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType -Microsoft.AspNetCore.JsonPatch.Internal.ObjectVisitor -Microsoft.AspNetCore.JsonPatch.Internal.ParsedPath -Microsoft.AspNetCore.JsonPatch.Internal.ParsedPath.ParsedPath() -> void -Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter -Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.PocoAdapter() -> void -Microsoft.AspNetCore.JsonPatch.JsonPatchDocument -Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.JsonPatchDocument() -> void -Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.JsonPatchDocument() -> void -Microsoft.AspNetCore.JsonPatch.JsonPatchError -Microsoft.AspNetCore.JsonPatch.JsonPatchProperty -Microsoft.AspNetCore.JsonPatch.Operations.Operation -Microsoft.AspNetCore.JsonPatch.Operations.Operation.Operation() -> void -Microsoft.AspNetCore.JsonPatch.Operations.Operation.ShouldSerializevalue() -> bool -Microsoft.AspNetCore.JsonPatch.Operations.Operation.Operation() -> void -Microsoft.AspNetCore.JsonPatch.Operations.OperationBase -Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.OperationBase() -> void -Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.OperationType.get -> Microsoft.AspNetCore.JsonPatch.Operations.OperationType -Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.ShouldSerializefrom() -> bool -Microsoft.AspNetCore.JsonPatch.Operations.OperationType -Microsoft.AspNetCore.JsonPatch.Operations.OperationType.Add = 0 -> Microsoft.AspNetCore.JsonPatch.Operations.OperationType -Microsoft.AspNetCore.JsonPatch.Operations.OperationType.Copy = 4 -> Microsoft.AspNetCore.JsonPatch.Operations.OperationType -Microsoft.AspNetCore.JsonPatch.Operations.OperationType.Invalid = 6 -> Microsoft.AspNetCore.JsonPatch.Operations.OperationType -Microsoft.AspNetCore.JsonPatch.Operations.OperationType.Move = 3 -> Microsoft.AspNetCore.JsonPatch.Operations.OperationType -Microsoft.AspNetCore.JsonPatch.Operations.OperationType.Remove = 1 -> Microsoft.AspNetCore.JsonPatch.Operations.OperationType -Microsoft.AspNetCore.JsonPatch.Operations.OperationType.Replace = 2 -> Microsoft.AspNetCore.JsonPatch.Operations.OperationType -Microsoft.AspNetCore.JsonPatch.Operations.OperationType.Test = 5 -> Microsoft.AspNetCore.JsonPatch.Operations.OperationType diff --git a/src/Features/JsonPatch/src/PublicAPI.Unshipped.txt b/src/Features/JsonPatch/src/PublicAPI.Unshipped.txt deleted file mode 100644 index 7dc5c58110bf..000000000000 --- a/src/Features/JsonPatch/src/PublicAPI.Unshipped.txt +++ /dev/null @@ -1 +0,0 @@ -#nullable enable diff --git a/src/Features/JsonPatch/src/PublicAPI/net10.0/PublicAPI.Shipped.txt b/src/Features/JsonPatch/src/PublicAPI/net10.0/PublicAPI.Shipped.txt new file mode 100644 index 000000000000..815c92006af7 --- /dev/null +++ b/src/Features/JsonPatch/src/PublicAPI/net10.0/PublicAPI.Shipped.txt @@ -0,0 +1 @@ +#nullable enable \ No newline at end of file diff --git a/src/Features/JsonPatch/src/PublicAPI/net10.0/PublicAPI.Unshipped.txt b/src/Features/JsonPatch/src/PublicAPI/net10.0/PublicAPI.Unshipped.txt new file mode 100644 index 000000000000..9e3cf0336b5f --- /dev/null +++ b/src/Features/JsonPatch/src/PublicAPI/net10.0/PublicAPI.Unshipped.txt @@ -0,0 +1,3 @@ +#nullable enable +Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void +Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void \ No newline at end of file diff --git a/src/Features/JsonPatch/src/PublicAPI/net462/PublicAPI.Shipped.txt b/src/Features/JsonPatch/src/PublicAPI/net462/PublicAPI.Shipped.txt new file mode 100644 index 000000000000..815c92006af7 --- /dev/null +++ b/src/Features/JsonPatch/src/PublicAPI/net462/PublicAPI.Shipped.txt @@ -0,0 +1 @@ +#nullable enable \ No newline at end of file diff --git a/src/Features/JsonPatch/src/PublicAPI/net462/PublicAPI.Unshipped.txt b/src/Features/JsonPatch/src/PublicAPI/net462/PublicAPI.Unshipped.txt new file mode 100644 index 000000000000..815c92006af7 --- /dev/null +++ b/src/Features/JsonPatch/src/PublicAPI/net462/PublicAPI.Unshipped.txt @@ -0,0 +1 @@ +#nullable enable \ No newline at end of file diff --git a/src/Features/JsonPatch/src/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt b/src/Features/JsonPatch/src/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt new file mode 100644 index 000000000000..815c92006af7 --- /dev/null +++ b/src/Features/JsonPatch/src/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt @@ -0,0 +1 @@ +#nullable enable \ No newline at end of file diff --git a/src/Features/JsonPatch/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt b/src/Features/JsonPatch/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt new file mode 100644 index 000000000000..815c92006af7 --- /dev/null +++ b/src/Features/JsonPatch/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt @@ -0,0 +1 @@ +#nullable enable \ No newline at end of file From c46b7c7115dbcb8a054d3c5760f3bc1f6bc6e457 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 May 2025 20:32:36 +0000 Subject: [PATCH 8/9] Revert PublicAPI directory restructuring Co-authored-by: captainsafia <1857993+captainsafia@users.noreply.github.com> --- ...AspNetCore.JsonPatch.SystemTextJson.csproj | 5 - .../src/PublicAPI.Shipped.txt | 1 + .../src/PublicAPI.Unshipped.txt | 108 ++++++++ .../PublicAPI/net10.0/PublicAPI.Shipped.txt | 1 - .../PublicAPI/net10.0/PublicAPI.Unshipped.txt | 3 - .../netstandard2.0/PublicAPI.Shipped.txt | 1 - .../netstandard2.0/PublicAPI.Unshipped.txt | 1 - .../JsonPatch/src/PublicAPI.Shipped.txt | 234 ++++++++++++++++++ .../net10.0 => }/PublicAPI.Unshipped.txt | 2 +- .../PublicAPI/net10.0/PublicAPI.Shipped.txt | 1 - .../PublicAPI/net462/PublicAPI.Shipped.txt | 1 - .../PublicAPI/net462/PublicAPI.Unshipped.txt | 1 - .../netstandard2.0/PublicAPI.Shipped.txt | 1 - .../netstandard2.0/PublicAPI.Unshipped.txt | 1 - 14 files changed, 344 insertions(+), 17 deletions(-) create mode 100644 src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Shipped.txt create mode 100644 src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt delete mode 100644 src/Features/JsonPatch.SystemTextJson/src/PublicAPI/net10.0/PublicAPI.Shipped.txt delete mode 100644 src/Features/JsonPatch.SystemTextJson/src/PublicAPI/net10.0/PublicAPI.Unshipped.txt delete mode 100644 src/Features/JsonPatch.SystemTextJson/src/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt delete mode 100644 src/Features/JsonPatch.SystemTextJson/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt create mode 100644 src/Features/JsonPatch/src/PublicAPI.Shipped.txt rename src/Features/JsonPatch/src/{PublicAPI/net10.0 => }/PublicAPI.Unshipped.txt (86%) delete mode 100644 src/Features/JsonPatch/src/PublicAPI/net10.0/PublicAPI.Shipped.txt delete mode 100644 src/Features/JsonPatch/src/PublicAPI/net462/PublicAPI.Shipped.txt delete mode 100644 src/Features/JsonPatch/src/PublicAPI/net462/PublicAPI.Unshipped.txt delete mode 100644 src/Features/JsonPatch/src/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt delete mode 100644 src/Features/JsonPatch/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt diff --git a/src/Features/JsonPatch.SystemTextJson/src/Microsoft.AspNetCore.JsonPatch.SystemTextJson.csproj b/src/Features/JsonPatch.SystemTextJson/src/Microsoft.AspNetCore.JsonPatch.SystemTextJson.csproj index 162761ca7e23..434a8cf7373a 100644 --- a/src/Features/JsonPatch.SystemTextJson/src/Microsoft.AspNetCore.JsonPatch.SystemTextJson.csproj +++ b/src/Features/JsonPatch.SystemTextJson/src/Microsoft.AspNetCore.JsonPatch.SystemTextJson.csproj @@ -16,11 +16,6 @@ - - - - - diff --git a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Shipped.txt b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Shipped.txt new file mode 100644 index 000000000000..7dc5c58110bf --- /dev/null +++ b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Shipped.txt @@ -0,0 +1 @@ +#nullable enable diff --git a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt new file mode 100644 index 000000000000..8acbc45747bf --- /dev/null +++ b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt @@ -0,0 +1,108 @@ +#nullable enable +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapterWithTest +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions.JsonPatchException +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions.JsonPatchException.JsonPatchException() -> void +Microsoft.AspNetCore.JsonPatch.SystemTextJson.IJsonPatchDocument +Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.JsonPatchDocument() -> void +Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void +Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.JsonPatchDocument() -> void +Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.Operation() -> void +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.Operation() -> void +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.OperationBase() -> void +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.OperationType.get -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.ShouldSerializeFrom() -> bool +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType.Add = 0 -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType.Copy = 4 -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType.Invalid = 6 -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType.Move = 3 -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType.Remove = 1 -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType.Replace = 2 -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType +Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType.Test = 5 -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter.Add(Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter.Copy(Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter.Move(Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter.Remove(Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter.Replace(Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapterWithTest.Test(Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions.JsonPatchException.AffectedObject.get -> object +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions.JsonPatchException.FailedOperation.get -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions.JsonPatchException.JsonPatchException(Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError jsonPatchError) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions.JsonPatchException.JsonPatchException(Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError jsonPatchError, System.Exception innerException) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions.JsonPatchException.JsonPatchException(string message, System.Exception innerException) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.IJsonPatchDocument.GetOperations() -> System.Collections.Generic.IList +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.IJsonPatchDocument.SerializerOptions.get -> System.Text.Json.JsonSerializerOptions +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.IJsonPatchDocument.SerializerOptions.set -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Add(string path, object value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.ApplyTo(object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.ApplyTo(object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter adapter) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.ApplyTo(object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter adapter, System.Action logErrorAction) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.ApplyTo(object objectToApplyTo, System.Action logErrorAction) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Copy(string from, string path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.JsonPatchDocument(System.Collections.Generic.List operations, System.Text.Json.JsonSerializerOptions serializerOptions) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Move(string from, string path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Operations.get -> System.Collections.Generic.List +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Remove(string path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Replace(string path, object value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.SerializerOptions.get -> System.Text.Json.JsonSerializerOptions +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.SerializerOptions.set -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Test(string path, object value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Add(System.Linq.Expressions.Expression>> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Add(System.Linq.Expressions.Expression>> path, TProp value, int position) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Add(System.Linq.Expressions.Expression> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.ApplyTo(TModel objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.ApplyTo(TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter adapter) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.ApplyTo(TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter adapter, System.Action logErrorAction) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.ApplyTo(TModel objectToApplyTo, System.Action logErrorAction) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Copy(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Copy(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path, int positionTo) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Copy(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Copy(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Copy(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path, int positionTo) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Copy(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.JsonPatchDocument(System.Collections.Generic.List> operations, System.Text.Json.JsonSerializerOptions serializerOptions) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Move(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Move(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path, int positionTo) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Move(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Move(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Move(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path, int positionTo) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Move(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Operations.get -> System.Collections.Generic.List> +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Remove(System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Remove(System.Linq.Expressions.Expression>> path, int position) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Remove(System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Replace(System.Linq.Expressions.Expression>> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Replace(System.Linq.Expressions.Expression>> path, TProp value, int position) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Replace(System.Linq.Expressions.Expression> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.SerializerOptions.get -> System.Text.Json.JsonSerializerOptions +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.SerializerOptions.set -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Test(System.Linq.Expressions.Expression>> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Test(System.Linq.Expressions.Expression>> path, TProp value, int position) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Test(System.Linq.Expressions.Expression> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError.AffectedObject.get -> object +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError.ErrorMessage.get -> string +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError.JsonPatchError(object affectedObject, Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation operation, string errorMessage) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError.Operation.get -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.Apply(object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter adapter) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.Operation(string op, string path, string from) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.Operation(string op, string path, string from, object value) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.value.get -> object +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.value.set -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.Apply(TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter adapter) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.Operation(string op, string path, string from) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation.Operation(string op, string path, string from, object value) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.from.get -> string +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.from.set -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.op.get -> string +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.op.set -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.OperationBase(string op, string path, string from) -> void +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.path.get -> string +~Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationBase.path.set -> void diff --git a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/net10.0/PublicAPI.Shipped.txt b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/net10.0/PublicAPI.Shipped.txt deleted file mode 100644 index 815c92006af7..000000000000 --- a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/net10.0/PublicAPI.Shipped.txt +++ /dev/null @@ -1 +0,0 @@ -#nullable enable \ No newline at end of file diff --git a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/net10.0/PublicAPI.Unshipped.txt b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/net10.0/PublicAPI.Unshipped.txt deleted file mode 100644 index 382b3dfa6654..000000000000 --- a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/net10.0/PublicAPI.Unshipped.txt +++ /dev/null @@ -1,3 +0,0 @@ -#nullable enable -Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void -Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void \ No newline at end of file diff --git a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt deleted file mode 100644 index 815c92006af7..000000000000 --- a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt +++ /dev/null @@ -1 +0,0 @@ -#nullable enable \ No newline at end of file diff --git a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt deleted file mode 100644 index 815c92006af7..000000000000 --- a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt +++ /dev/null @@ -1 +0,0 @@ -#nullable enable \ No newline at end of file diff --git a/src/Features/JsonPatch/src/PublicAPI.Shipped.txt b/src/Features/JsonPatch/src/PublicAPI.Shipped.txt new file mode 100644 index 000000000000..1601735c1231 --- /dev/null +++ b/src/Features/JsonPatch/src/PublicAPI.Shipped.txt @@ -0,0 +1,234 @@ +#nullable enable +~Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory.Create(object target, Newtonsoft.Json.Serialization.IContractResolver contractResolver) -> Microsoft.AspNetCore.JsonPatch.Internal.IAdapter +~Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter.Add(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter.Copy(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter.Move(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter.Remove(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter.Replace(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapterWithTest.Test(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.AdapterFactory.get -> Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory +~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.Add(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.ContractResolver.get -> Newtonsoft.Json.Serialization.IContractResolver +~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.Copy(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.LogErrorAction.get -> System.Action +~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.Move(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.ObjectAdapter(Newtonsoft.Json.Serialization.IContractResolver contractResolver, System.Action logErrorAction) -> void +~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.ObjectAdapter(Newtonsoft.Json.Serialization.IContractResolver contractResolver, System.Action logErrorAction, Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory adapterFactory) -> void +~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.Remove(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.Replace(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter.Test(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.Exceptions.JsonPatchException.AffectedObject.get -> object +~Microsoft.AspNetCore.JsonPatch.Exceptions.JsonPatchException.FailedOperation.get -> Microsoft.AspNetCore.JsonPatch.Operations.Operation +~Microsoft.AspNetCore.JsonPatch.Exceptions.JsonPatchException.JsonPatchException(Microsoft.AspNetCore.JsonPatch.JsonPatchError jsonPatchError) -> void +~Microsoft.AspNetCore.JsonPatch.Exceptions.JsonPatchException.JsonPatchException(Microsoft.AspNetCore.JsonPatch.JsonPatchError jsonPatchError, System.Exception innerException) -> void +~Microsoft.AspNetCore.JsonPatch.Exceptions.JsonPatchException.JsonPatchException(string message, System.Exception innerException) -> void +~Microsoft.AspNetCore.JsonPatch.Helpers.GetValueResult.GetValueResult(object propertyValue, bool hasError) -> void +~Microsoft.AspNetCore.JsonPatch.Helpers.GetValueResult.PropertyValue.get -> object +~Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument.ContractResolver.get -> Newtonsoft.Json.Serialization.IContractResolver +~Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument.ContractResolver.set -> void +~Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument.GetOperations() -> System.Collections.Generic.IList +~Microsoft.AspNetCore.JsonPatch.Internal.ConversionResult.ConversionResult(bool canBeConverted, object convertedInstance) -> void +~Microsoft.AspNetCore.JsonPatch.Internal.ConversionResult.ConvertedInstance.get -> object +~Microsoft.AspNetCore.JsonPatch.Internal.IAdapter.TryAdd(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~Microsoft.AspNetCore.JsonPatch.Internal.IAdapter.TryGet(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) -> bool +~Microsoft.AspNetCore.JsonPatch.Internal.IAdapter.TryRemove(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out string errorMessage) -> bool +~Microsoft.AspNetCore.JsonPatch.Internal.IAdapter.TryReplace(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~Microsoft.AspNetCore.JsonPatch.Internal.IAdapter.TryTest(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~Microsoft.AspNetCore.JsonPatch.Internal.IAdapter.TryTraverse(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object nextTarget, out string errorMessage) -> bool +~Microsoft.AspNetCore.JsonPatch.Internal.ObjectVisitor.ObjectVisitor(Microsoft.AspNetCore.JsonPatch.Internal.ParsedPath path, Newtonsoft.Json.Serialization.IContractResolver contractResolver) -> void +~Microsoft.AspNetCore.JsonPatch.Internal.ObjectVisitor.ObjectVisitor(Microsoft.AspNetCore.JsonPatch.Internal.ParsedPath path, Newtonsoft.Json.Serialization.IContractResolver contractResolver, Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory adapterFactory) -> void +~Microsoft.AspNetCore.JsonPatch.Internal.ObjectVisitor.TryVisit(ref object target, out Microsoft.AspNetCore.JsonPatch.Internal.IAdapter adapter, out string errorMessage) -> bool +~Microsoft.AspNetCore.JsonPatch.Internal.ParsedPath.LastSegment.get -> string +~Microsoft.AspNetCore.JsonPatch.Internal.ParsedPath.ParsedPath(string path) -> void +~Microsoft.AspNetCore.JsonPatch.Internal.ParsedPath.Segments.get -> System.Collections.Generic.IReadOnlyList +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Add(string path, object value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ApplyTo(object objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ApplyTo(object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter) -> void +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ApplyTo(object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter, System.Action logErrorAction) -> void +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ApplyTo(object objectToApplyTo, System.Action logErrorAction) -> void +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ContractResolver.get -> Newtonsoft.Json.Serialization.IContractResolver +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ContractResolver.set -> void +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Copy(string from, string path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.JsonPatchDocument(System.Collections.Generic.List operations, Newtonsoft.Json.Serialization.IContractResolver contractResolver) -> void +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Move(string from, string path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Operations.get -> System.Collections.Generic.List +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Remove(string path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Replace(string path, object value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Test(string path, object value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Add(System.Linq.Expressions.Expression>> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Add(System.Linq.Expressions.Expression>> path, TProp value, int position) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Add(System.Linq.Expressions.Expression> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ApplyTo(TModel objectToApplyTo) -> void +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ApplyTo(TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter) -> void +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ApplyTo(TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter, System.Action logErrorAction) -> void +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ApplyTo(TModel objectToApplyTo, System.Action logErrorAction) -> void +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ContractResolver.get -> Newtonsoft.Json.Serialization.IContractResolver +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.ContractResolver.set -> void +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Copy(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Copy(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path, int positionTo) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Copy(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Copy(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Copy(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path, int positionTo) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Copy(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.JsonPatchDocument(System.Collections.Generic.List> operations, Newtonsoft.Json.Serialization.IContractResolver contractResolver) -> void +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Move(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Move(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path, int positionTo) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Move(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Move(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Move(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path, int positionTo) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Move(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Operations.get -> System.Collections.Generic.List> +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Remove(System.Linq.Expressions.Expression>> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Remove(System.Linq.Expressions.Expression>> path, int position) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Remove(System.Linq.Expressions.Expression> path) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Replace(System.Linq.Expressions.Expression>> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Replace(System.Linq.Expressions.Expression>> path, TProp value, int position) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Replace(System.Linq.Expressions.Expression> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Test(System.Linq.Expressions.Expression>> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Test(System.Linq.Expressions.Expression>> path, TProp value, int position) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.Test(System.Linq.Expressions.Expression> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +~Microsoft.AspNetCore.JsonPatch.JsonPatchError.AffectedObject.get -> object +~Microsoft.AspNetCore.JsonPatch.JsonPatchError.ErrorMessage.get -> string +~Microsoft.AspNetCore.JsonPatch.JsonPatchError.JsonPatchError(object affectedObject, Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, string errorMessage) -> void +~Microsoft.AspNetCore.JsonPatch.JsonPatchError.Operation.get -> Microsoft.AspNetCore.JsonPatch.Operations.Operation +~Microsoft.AspNetCore.JsonPatch.JsonPatchProperty.JsonPatchProperty(Newtonsoft.Json.Serialization.JsonProperty property, object parent) -> void +~Microsoft.AspNetCore.JsonPatch.JsonPatchProperty.Parent.get -> object +~Microsoft.AspNetCore.JsonPatch.JsonPatchProperty.Parent.set -> void +~Microsoft.AspNetCore.JsonPatch.JsonPatchProperty.Property.get -> Newtonsoft.Json.Serialization.JsonProperty +~Microsoft.AspNetCore.JsonPatch.JsonPatchProperty.Property.set -> void +~Microsoft.AspNetCore.JsonPatch.Operations.Operation.Apply(object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter) -> void +~Microsoft.AspNetCore.JsonPatch.Operations.Operation.Operation(string op, string path, string from) -> void +~Microsoft.AspNetCore.JsonPatch.Operations.Operation.Operation(string op, string path, string from, object value) -> void +~Microsoft.AspNetCore.JsonPatch.Operations.Operation.value.get -> object +~Microsoft.AspNetCore.JsonPatch.Operations.Operation.value.set -> void +~Microsoft.AspNetCore.JsonPatch.Operations.Operation +~Microsoft.AspNetCore.JsonPatch.Operations.Operation.Apply(TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter) -> void +~Microsoft.AspNetCore.JsonPatch.Operations.Operation.Operation(string op, string path, string from) -> void +~Microsoft.AspNetCore.JsonPatch.Operations.Operation.Operation(string op, string path, string from, object value) -> void +~Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.from.get -> string +~Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.from.set -> void +~Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.op.get -> string +~Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.op.set -> void +~Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.OperationBase(string op, string path, string from) -> void +~Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.path.get -> string +~Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.path.set -> void +~override Microsoft.AspNetCore.JsonPatch.Converters.JsonPatchDocumentConverter.CanConvert(System.Type objectType) -> bool +~override Microsoft.AspNetCore.JsonPatch.Converters.JsonPatchDocumentConverter.ReadJson(Newtonsoft.Json.JsonReader reader, System.Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer) -> object +~override Microsoft.AspNetCore.JsonPatch.Converters.JsonPatchDocumentConverter.WriteJson(Newtonsoft.Json.JsonWriter writer, object value, Newtonsoft.Json.JsonSerializer serializer) -> void +~override Microsoft.AspNetCore.JsonPatch.Converters.TypedJsonPatchDocumentConverter.ReadJson(Newtonsoft.Json.JsonReader reader, System.Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer) -> object +~static Microsoft.AspNetCore.JsonPatch.Internal.ConversionResultProvider.ConvertTo(object value, System.Type typeToConvertTo) -> Microsoft.AspNetCore.JsonPatch.Internal.ConversionResult +~static Microsoft.AspNetCore.JsonPatch.Internal.ConversionResultProvider.CopyTo(object value, System.Type typeToConvertTo) -> Microsoft.AspNetCore.JsonPatch.Internal.ConversionResult +~virtual Microsoft.AspNetCore.JsonPatch.Adapters.AdapterFactory.Create(object target, Newtonsoft.Json.Serialization.IContractResolver contractResolver) -> Microsoft.AspNetCore.JsonPatch.Internal.IAdapter +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryAdd(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryConvertKey(string key, out TKey convertedKey, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryConvertValue(object value, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out TValue convertedValue, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryConvertValue(object value, out TValue convertedValue, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryGet(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryRemove(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryReplace(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryTest(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.TryTraverse(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object nextTarget, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryAdd(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryConvertValue(object value, System.Type propertyType, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object convertedValue) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryConvertValue(object value, System.Type propertyType, out object convertedValue) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryGet(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryGetDynamicObjectProperty(object target, Newtonsoft.Json.Serialization.IContractResolver contractResolver, string segment, out object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryRemove(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryReplace(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TrySetDynamicObjectProperty(object target, Newtonsoft.Json.Serialization.IContractResolver contractResolver, string segment, object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryTest(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.TryTraverse(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object nextTarget, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.JObjectAdapter.TryAdd(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.JObjectAdapter.TryGet(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.JObjectAdapter.TryRemove(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.JObjectAdapter.TryReplace(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.JObjectAdapter.TryTest(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.JObjectAdapter.TryTraverse(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object nextTarget, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryAdd(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryConvertValue(object originalValue, System.Type listTypeArgument, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object convertedValue, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryConvertValue(object originalValue, System.Type listTypeArgument, string segment, out object convertedValue, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryGet(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryGetListTypeArgument(System.Collections.IList list, out System.Type listTypeArgument, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryGetPositionInfo(System.Collections.IList list, string segment, Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType operationType, out Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionInfo positionInfo, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryRemove(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryReplace(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryTest(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.TryTraverse(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryAdd(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryConvertValue(object value, System.Type propertyType, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object convertedValue) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryConvertValue(object value, System.Type propertyType, out object convertedValue) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryGet(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryGetJsonProperty(object target, Newtonsoft.Json.Serialization.IContractResolver contractResolver, string segment, out Newtonsoft.Json.Serialization.JsonProperty jsonProperty) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryRemove(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryReplace(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryTest(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) -> bool +~virtual Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.TryTraverse(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) -> bool +Microsoft.AspNetCore.JsonPatch.Adapters.AdapterFactory +Microsoft.AspNetCore.JsonPatch.Adapters.AdapterFactory.AdapterFactory() -> void +Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory +Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter +Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapterWithTest +Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter +Microsoft.AspNetCore.JsonPatch.Converters.JsonPatchDocumentConverter +Microsoft.AspNetCore.JsonPatch.Converters.JsonPatchDocumentConverter.JsonPatchDocumentConverter() -> void +Microsoft.AspNetCore.JsonPatch.Converters.TypedJsonPatchDocumentConverter +Microsoft.AspNetCore.JsonPatch.Converters.TypedJsonPatchDocumentConverter.TypedJsonPatchDocumentConverter() -> void +Microsoft.AspNetCore.JsonPatch.Exceptions.JsonPatchException +Microsoft.AspNetCore.JsonPatch.Exceptions.JsonPatchException.JsonPatchException() -> void +Microsoft.AspNetCore.JsonPatch.Helpers.GetValueResult +Microsoft.AspNetCore.JsonPatch.Helpers.GetValueResult.HasError.get -> bool +Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument +Microsoft.AspNetCore.JsonPatch.Internal.ConversionResult +Microsoft.AspNetCore.JsonPatch.Internal.ConversionResult.CanBeConverted.get -> bool +Microsoft.AspNetCore.JsonPatch.Internal.ConversionResultProvider +Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter +Microsoft.AspNetCore.JsonPatch.Internal.DictionaryAdapter.DictionaryAdapter() -> void +Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter +Microsoft.AspNetCore.JsonPatch.Internal.DynamicObjectAdapter.DynamicObjectAdapter() -> void +Microsoft.AspNetCore.JsonPatch.Internal.IAdapter +Microsoft.AspNetCore.JsonPatch.Internal.JObjectAdapter +Microsoft.AspNetCore.JsonPatch.Internal.JObjectAdapter.JObjectAdapter() -> void +Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter +Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.ListAdapter() -> void +Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType +Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType.Add = 0 -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType +Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType.Get = 2 -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType +Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType.Remove = 1 -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType +Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType.Replace = 3 -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType +Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionInfo +Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionInfo.Index.get -> int +Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionInfo.PositionInfo() -> void +Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionInfo.PositionInfo(Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType type, int index) -> void +Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionInfo.Type.get -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType +Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType +Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType.EndOfList = 1 -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType +Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType.Index = 0 -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType +Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType.Invalid = 2 -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType +Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType.OutOfBounds = 3 -> Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType +Microsoft.AspNetCore.JsonPatch.Internal.ObjectVisitor +Microsoft.AspNetCore.JsonPatch.Internal.ParsedPath +Microsoft.AspNetCore.JsonPatch.Internal.ParsedPath.ParsedPath() -> void +Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter +Microsoft.AspNetCore.JsonPatch.Internal.PocoAdapter.PocoAdapter() -> void +Microsoft.AspNetCore.JsonPatch.JsonPatchDocument +Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.JsonPatchDocument() -> void +Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.JsonPatchDocument() -> void +Microsoft.AspNetCore.JsonPatch.JsonPatchError +Microsoft.AspNetCore.JsonPatch.JsonPatchProperty +Microsoft.AspNetCore.JsonPatch.Operations.Operation +Microsoft.AspNetCore.JsonPatch.Operations.Operation.Operation() -> void +Microsoft.AspNetCore.JsonPatch.Operations.Operation.ShouldSerializevalue() -> bool +Microsoft.AspNetCore.JsonPatch.Operations.Operation.Operation() -> void +Microsoft.AspNetCore.JsonPatch.Operations.OperationBase +Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.OperationBase() -> void +Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.OperationType.get -> Microsoft.AspNetCore.JsonPatch.Operations.OperationType +Microsoft.AspNetCore.JsonPatch.Operations.OperationBase.ShouldSerializefrom() -> bool +Microsoft.AspNetCore.JsonPatch.Operations.OperationType +Microsoft.AspNetCore.JsonPatch.Operations.OperationType.Add = 0 -> Microsoft.AspNetCore.JsonPatch.Operations.OperationType +Microsoft.AspNetCore.JsonPatch.Operations.OperationType.Copy = 4 -> Microsoft.AspNetCore.JsonPatch.Operations.OperationType +Microsoft.AspNetCore.JsonPatch.Operations.OperationType.Invalid = 6 -> Microsoft.AspNetCore.JsonPatch.Operations.OperationType +Microsoft.AspNetCore.JsonPatch.Operations.OperationType.Move = 3 -> Microsoft.AspNetCore.JsonPatch.Operations.OperationType +Microsoft.AspNetCore.JsonPatch.Operations.OperationType.Remove = 1 -> Microsoft.AspNetCore.JsonPatch.Operations.OperationType +Microsoft.AspNetCore.JsonPatch.Operations.OperationType.Replace = 2 -> Microsoft.AspNetCore.JsonPatch.Operations.OperationType +Microsoft.AspNetCore.JsonPatch.Operations.OperationType.Test = 5 -> Microsoft.AspNetCore.JsonPatch.Operations.OperationType diff --git a/src/Features/JsonPatch/src/PublicAPI/net10.0/PublicAPI.Unshipped.txt b/src/Features/JsonPatch/src/PublicAPI.Unshipped.txt similarity index 86% rename from src/Features/JsonPatch/src/PublicAPI/net10.0/PublicAPI.Unshipped.txt rename to src/Features/JsonPatch/src/PublicAPI.Unshipped.txt index 9e3cf0336b5f..ceeca405723c 100644 --- a/src/Features/JsonPatch/src/PublicAPI/net10.0/PublicAPI.Unshipped.txt +++ b/src/Features/JsonPatch/src/PublicAPI.Unshipped.txt @@ -1,3 +1,3 @@ #nullable enable Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void -Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void \ No newline at end of file +Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void diff --git a/src/Features/JsonPatch/src/PublicAPI/net10.0/PublicAPI.Shipped.txt b/src/Features/JsonPatch/src/PublicAPI/net10.0/PublicAPI.Shipped.txt deleted file mode 100644 index 815c92006af7..000000000000 --- a/src/Features/JsonPatch/src/PublicAPI/net10.0/PublicAPI.Shipped.txt +++ /dev/null @@ -1 +0,0 @@ -#nullable enable \ No newline at end of file diff --git a/src/Features/JsonPatch/src/PublicAPI/net462/PublicAPI.Shipped.txt b/src/Features/JsonPatch/src/PublicAPI/net462/PublicAPI.Shipped.txt deleted file mode 100644 index 815c92006af7..000000000000 --- a/src/Features/JsonPatch/src/PublicAPI/net462/PublicAPI.Shipped.txt +++ /dev/null @@ -1 +0,0 @@ -#nullable enable \ No newline at end of file diff --git a/src/Features/JsonPatch/src/PublicAPI/net462/PublicAPI.Unshipped.txt b/src/Features/JsonPatch/src/PublicAPI/net462/PublicAPI.Unshipped.txt deleted file mode 100644 index 815c92006af7..000000000000 --- a/src/Features/JsonPatch/src/PublicAPI/net462/PublicAPI.Unshipped.txt +++ /dev/null @@ -1 +0,0 @@ -#nullable enable \ No newline at end of file diff --git a/src/Features/JsonPatch/src/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt b/src/Features/JsonPatch/src/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt deleted file mode 100644 index 815c92006af7..000000000000 --- a/src/Features/JsonPatch/src/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt +++ /dev/null @@ -1 +0,0 @@ -#nullable enable \ No newline at end of file diff --git a/src/Features/JsonPatch/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt b/src/Features/JsonPatch/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt deleted file mode 100644 index 815c92006af7..000000000000 --- a/src/Features/JsonPatch/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt +++ /dev/null @@ -1 +0,0 @@ -#nullable enable \ No newline at end of file From 906d2149c8c11bc836d3dd0ead44403d72c3dff1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 May 2025 20:55:26 +0000 Subject: [PATCH 9/9] Use explicit interface implementation for IEndpointParameterMetadataProvider Co-authored-by: captainsafia <1857993+captainsafia@users.noreply.github.com> --- src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocument.cs | 2 +- .../JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs | 2 +- .../JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt | 2 -- src/Features/JsonPatch/src/JsonPatchDocument.cs | 2 +- src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs | 2 +- src/Features/JsonPatch/src/PublicAPI.Unshipped.txt | 2 -- 6 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocument.cs b/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocument.cs index f3ecbf8ccb8c..3e2c41f56e82 100644 --- a/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocument.cs +++ b/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocument.cs @@ -227,7 +227,7 @@ IList IJsonPatchDocument.GetOperations() /// /// The for the endpoint parameter. /// The endpoint builder for the endpoint being constructed. - public static void PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) + static void IEndpointParameterMetadataProvider.PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) { ArgumentNullException.ThrowIfNull(parameter); ArgumentNullException.ThrowIfNull(builder); diff --git a/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs b/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs index 53328e090c0c..2e2d3fcd4604 100644 --- a/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs +++ b/src/Features/JsonPatch.SystemTextJson/src/JsonPatchDocumentOfT.cs @@ -664,7 +664,7 @@ IList IJsonPatchDocument.GetOperations() /// /// The for the endpoint parameter. /// The endpoint builder for the endpoint being constructed. - public static void PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) + static void IEndpointParameterMetadataProvider.PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) { ArgumentNullException.ThrowIfNull(parameter); ArgumentNullException.ThrowIfNull(builder); diff --git a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt index 8acbc45747bf..e2421fc8af3c 100644 --- a/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt +++ b/src/Features/JsonPatch.SystemTextJson/src/PublicAPI.Unshipped.txt @@ -6,7 +6,6 @@ Microsoft.AspNetCore.JsonPatch.SystemTextJson.Exceptions.JsonPatchException.Json Microsoft.AspNetCore.JsonPatch.SystemTextJson.IJsonPatchDocument Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.JsonPatchDocument() -> void -Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.JsonPatchDocument() -> void Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation @@ -53,7 +52,6 @@ Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.OperationType.Test = 5 ~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.SerializerOptions.set -> void ~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Test(string path, object value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument ~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument -~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void ~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Add(System.Linq.Expressions.Expression>> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument ~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Add(System.Linq.Expressions.Expression>> path, TProp value, int position) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument ~Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument.Add(System.Linq.Expressions.Expression> path, TProp value) -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument diff --git a/src/Features/JsonPatch/src/JsonPatchDocument.cs b/src/Features/JsonPatch/src/JsonPatchDocument.cs index 3820ed870e24..c2e31879ef9f 100644 --- a/src/Features/JsonPatch/src/JsonPatchDocument.cs +++ b/src/Features/JsonPatch/src/JsonPatchDocument.cs @@ -235,7 +235,7 @@ IList IJsonPatchDocument.GetOperations() /// /// The for the endpoint parameter. /// The endpoint builder for the endpoint being constructed. - public static void PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) + static void IEndpointParameterMetadataProvider.PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) { ArgumentNullException.ThrowIfNull(parameter); ArgumentNullException.ThrowIfNull(builder); diff --git a/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs b/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs index 834f32d4727c..c4481b7f824b 100644 --- a/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs +++ b/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs @@ -672,7 +672,7 @@ IList IJsonPatchDocument.GetOperations() /// /// The for the endpoint parameter. /// The endpoint builder for the endpoint being constructed. - public static void PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) + static void IEndpointParameterMetadataProvider.PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder) { ArgumentNullException.ThrowIfNull(parameter); ArgumentNullException.ThrowIfNull(builder); diff --git a/src/Features/JsonPatch/src/PublicAPI.Unshipped.txt b/src/Features/JsonPatch/src/PublicAPI.Unshipped.txt index ceeca405723c..7dc5c58110bf 100644 --- a/src/Features/JsonPatch/src/PublicAPI.Unshipped.txt +++ b/src/Features/JsonPatch/src/PublicAPI.Unshipped.txt @@ -1,3 +1 @@ #nullable enable -Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void -Microsoft.AspNetCore.JsonPatch.JsonPatchDocument.PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder) -> void