-
Notifications
You must be signed in to change notification settings - Fork 10.3k
feat: add StringSyntaxAttribute for guid and timespan args #48402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for your PR, @abc516. Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
@dotnet-policy-service agree
|
This is test code, applying the string syntax attribute isn't very interesting in these cases. |
...to avoid false positive from debugger display types and simplify test for `X509Certificate`.
* Use `Type.IsByRefLike`. * Inline `IsRefStructProperty`; it is used only once and is small.
* Update JSInProcessObjectReference.cs Fix for bug dotnet#48280 * Add JSObjectReferences dispose tests --------- Co-authored-by: Mackinnon Buck <[email protected]>
…48398) * Transitive package to provide coherency in dotnet/extensions * Update Version.Details.xml --------- Co-authored-by: William Godbe <[email protected]>
* Update dependencies from https://github.com/dotnet/runtime build 20230524.1 Microsoft.Bcl.AsyncInterfaces , Microsoft.Extensions.Caching.Abstractions , Microsoft.Extensions.Caching.Memory , Microsoft.Extensions.Configuration , Microsoft.Extensions.Configuration.Abstractions , Microsoft.Extensions.Configuration.Binder , Microsoft.Extensions.Configuration.CommandLine , Microsoft.Extensions.Configuration.EnvironmentVariables , Microsoft.Extensions.Configuration.FileExtensions , Microsoft.Extensions.Configuration.Ini , Microsoft.Extensions.Configuration.Json , Microsoft.Extensions.Configuration.UserSecrets , Microsoft.Extensions.Configuration.Xml , Microsoft.Extensions.DependencyInjection , Microsoft.Extensions.DependencyInjection.Abstractions , Microsoft.Extensions.DependencyModel , Microsoft.Extensions.FileProviders.Abstractions , Microsoft.Extensions.FileProviders.Composite , Microsoft.Extensions.FileProviders.Physical , Microsoft.Extensions.FileSystemGlobbing , Microsoft.Extensions.HostFactoryResolver.Sources , Microsoft.Extensions.Hosting , Microsoft.Extensions.Hosting.Abstractions , Microsoft.Extensions.Http , Microsoft.Extensions.Logging , Microsoft.Extensions.Logging.Abstractions , Microsoft.Extensions.Logging.Configuration , Microsoft.Extensions.Logging.Console , Microsoft.Extensions.Logging.Debug , Microsoft.Extensions.Logging.EventLog , Microsoft.Extensions.Logging.EventSource , Microsoft.Extensions.Logging.TraceSource , Microsoft.Extensions.Options , Microsoft.Extensions.Options.ConfigurationExtensions , Microsoft.Extensions.Options.DataAnnotations , Microsoft.Extensions.Primitives , Microsoft.Internal.Runtime.AspNetCore.Transport , Microsoft.NET.Runtime.MonoAOTCompiler.Task , Microsoft.NET.Runtime.WebAssembly.Sdk , Microsoft.NETCore.App.Ref , Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.BrowserDebugHost.Transport , Microsoft.NETCore.Platforms , System.Configuration.ConfigurationManager , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , System.DirectoryServices.Protocols , System.IO.Pipelines , System.Net.Http.Json , System.Net.Http.WinHttpHandler , System.Reflection.Metadata , System.Resources.Extensions , System.Security.Cryptography.Pkcs , System.Security.Cryptography.Xml , System.Security.Permissions , System.ServiceProcess.ServiceController , System.Text.Encodings.Web , System.Text.Json , System.Threading.AccessControl , System.Threading.Channels , System.Threading.RateLimiting From Version 8.0.0-preview.5.23273.1 -> To Version 8.0.0-preview.5.23274.1 * Use Microsoft.Extensions.Diaganostics * Add to shared framework * Add Diagnostics.Abstractions to shared fx. * Remove InternalsVisibleTo workaround. Add some dispose logic to TestMeterFactory. * Fix test build. Add new assemblies to shared fx * Fix new deps * Update dependencies from https://github.com/dotnet/runtime build 20230524.13 Microsoft.Bcl.AsyncInterfaces , Microsoft.Bcl.TimeProvider , Microsoft.Extensions.Caching.Abstractions , Microsoft.Extensions.Caching.Memory , Microsoft.Extensions.Configuration , Microsoft.Extensions.Configuration.Abstractions , Microsoft.Extensions.Configuration.Binder , Microsoft.Extensions.Configuration.CommandLine , Microsoft.Extensions.Configuration.EnvironmentVariables , Microsoft.Extensions.Configuration.FileExtensions , Microsoft.Extensions.Configuration.Ini , Microsoft.Extensions.Configuration.Json , Microsoft.Extensions.Configuration.UserSecrets , Microsoft.Extensions.Configuration.Xml , Microsoft.Extensions.DependencyInjection , Microsoft.Extensions.DependencyInjection.Abstractions , Microsoft.Extensions.DependencyModel , Microsoft.Extensions.FileProviders.Abstractions , Microsoft.Extensions.FileProviders.Composite , Microsoft.Extensions.FileProviders.Physical , Microsoft.Extensions.FileSystemGlobbing , Microsoft.Extensions.HostFactoryResolver.Sources , Microsoft.Extensions.Hosting , Microsoft.Extensions.Hosting.Abstractions , Microsoft.Extensions.Http , Microsoft.Extensions.Logging , Microsoft.Extensions.Logging.Abstractions , Microsoft.Extensions.Logging.Configuration , Microsoft.Extensions.Logging.Console , Microsoft.Extensions.Logging.Debug , Microsoft.Extensions.Logging.EventLog , Microsoft.Extensions.Logging.EventSource , Microsoft.Extensions.Logging.TraceSource , Microsoft.Extensions.Options , Microsoft.Extensions.Options.ConfigurationExtensions , Microsoft.Extensions.Options.DataAnnotations , Microsoft.Extensions.Primitives , Microsoft.Internal.Runtime.AspNetCore.Transport , Microsoft.NET.Runtime.MonoAOTCompiler.Task , Microsoft.NET.Runtime.WebAssembly.Sdk , Microsoft.NETCore.App.Ref , Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.BrowserDebugHost.Transport , Microsoft.NETCore.Platforms , System.Collections.Immutable , System.Configuration.ConfigurationManager , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , System.Diagnostics.PerformanceCounter , System.DirectoryServices.Protocols , System.IO.Hashing , System.IO.Pipelines , System.Net.Http.Json , System.Net.Http.WinHttpHandler , System.Reflection.Metadata , System.Resources.Extensions , System.Runtime.Caching , System.Security.Cryptography.Pkcs , System.Security.Cryptography.Xml , System.Security.Permissions , System.ServiceProcess.ServiceController , System.Text.Encodings.Web , System.Text.Json , System.Threading.AccessControl , System.Threading.Channels , System.Threading.RateLimiting From Version 8.0.0-preview.5.23273.1 -> To Version 8.0.0-preview.5.23274.13 * Update new dependencies to new runtime build --------- Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: James Newton-King <[email protected]> Co-authored-by: Eric Erhardt <[email protected]> Co-authored-by: wtgodbe <[email protected]>
…ence-packages build 20230524.2 (dotnet#48408) Microsoft.SourceBuild.Intermediate.source-build-reference-packages From Version 8.0.0-alpha.1.23273.1 -> To Version 8.0.0-alpha.1.23274.2 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
dotnet#48238) * Change API template to only use Invariant Globalization in Native AOT mode.
…0526.1 (dotnet#48444) [main] Update dependencies from dotnet/runtime
Bumps [src/submodules/spa-templates](https://github.com/dotnet/spa-templates) from `3881d5a` to `45228c8`. - [Commits](dotnet/spa-templates@3881d5a...45228c8) --- updated-dependencies: - dependency-name: src/submodules/spa-templates dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [src/submodules/googletest](https://github.com/google/googletest) from `cb455a7` to `4580469`. - [Release notes](https://github.com/google/googletest/releases) - [Commits](google/googletest@cb455a7...4580469) --- updated-dependencies: - dependency-name: src/submodules/googletest dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Updated `LoginDisplay.IndividualB2CAuth.razor` to use `OptionsMonitor.Get`
…s` (dotnet#48385) * Fix project resolution logic in user-jwts to close dotnet#46218 * Update write stream construction to close dotnet#44869 * Address review feedback
…0526.2 (dotnet#48467) [main] Update dependencies from dotnet/runtime
…nals build 20230524.1 (dotnet#48503) [main] Update dependencies from dotnet/source-build-externals
Bumps [src/submodules/spa-templates](https://github.com/dotnet/spa-templates) from `45228c8` to `d60cf22`. - [Commits](dotnet/spa-templates@45228c8...d60cf22) --- updated-dependencies: - dependency-name: src/submodules/spa-templates dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [src/submodules/googletest](https://github.com/google/googletest) from `4580469` to `06f44bc`. - [Release notes](https://github.com/google/googletest/releases) - [Commits](google/googletest@4580469...06f44bc) --- updated-dependencies: - dependency-name: src/submodules/googletest dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…tnet#48432) * Adds support for binding primitive types via [SupplyParameterFromForm] * Introduces the internal infrastructure to deal with the binding process.
* Adds support for binding collection types.
* Adds support for binding dictionaries of primitive types.
* Update SDK to 8.0.100-preview.6.23305.3 * Fix build for new 8.0 SDK - Add static keyword for method that doesn't need to be an instance method. - Change workaround for dotnet/linker#3175 to use net7.0 instead of net8.0. The ILLink.Analysis package no longer ships in net8.0. So use net7.0, like the rest of the "unsupported" TFMs use.
* Adds support for binding complex types
fixes dotnet#48528 Co-authored-by: Brian Brunner <[email protected]>
@BrennanConroy @mkArtakMSFT I had some issues resolving upstream changes in the codebase. I will re-open a PR for this issue once they are fixed. |
Hi @abc516. It looks like you just commented on a closed PR. The team will most probably miss it. If you'd like to bring something important up to their attention, consider filing a new issue and add enough details to build context. |
#44535 (GuidFormat and TimeSpanFormat)
Description
Adds the StringSyntaxAttribute for guid and timespan string function parameters, to specify syntax adherence.