-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Clean up TODOs and duplicated code in client code generation #4923
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
Labels
Milestone
Comments
New bullets from #10641 discussions:
|
This was referenced Jun 1, 2019
Merged
dougbu
added a commit
that referenced
this issue
Jun 3, 2019
…cuments in one go (#10667) - #8242 1 of 2 - save a cache file listing all retrieved documents - remove .NET Core App 2.0 support - remove ServiceProjectReferenceMetadata.targets, related `Project` class, and searches for a project - tools will run within a project and get needed information from project on command line - roll framework forward in both tools to expand their applicability when using .NET Core - use Microsoft.Extensions.HostFactoryResolver.Sources (part of #4923) - remove Microsoft.AspNetCore.Hosting.Abstractions dependency nits: - refactor methods in `GetDocumentCommandWorker` - reorder option addition for consistency and to place `--help` at the top of help output - consolidate information about method signatures at top of `GetDocumentCommandWorker` - consolidate `try` / `catch` blocks in `GetDocumentCommandWorker` - shorten the lifespan of a `Task` - ensure GetDocument.Insider exit codes are unique - make a few more `string`s `const` - fold a few expressions over fewer lines
Couple more bullets
|
3 tasks
Part 1 in 04b1adb |
dougbu
added a commit
to dotnet/extensions
that referenced
this issue
Aug 21, 2019
- unblocks work on dotnet/aspnetcore#4923 - arguments for inside and outside men of service reference doc gen tool are mixed by default - users may add either argument type to the end of the outside man's command line - e.g. "command --unexpected unexpectedValue --expected" can now set the "expected" option - only "--unexpected" and "unexpectedValue" are added to RemainingArguments in that case - default behaviour of the command-line parser is unchanged to avoid breaking existing applications - new switch is supported only when calling `CommandLineApplication` constructor for top-level commands - `dotnet-getdocument` (the outside man) has no (sub)commands and expanding scope would unnecessarily increase churn nits: take VS suggestions in changed files
dougbu
added a commit
to dotnet/extensions
that referenced
this issue
Aug 21, 2019
- unblocks work on dotnet/aspnetcore#4923 - arguments for inside and outside men of service reference doc gen tool are mixed by default - users may add either argument type to the end of the outside man's command line - e.g. "command --unexpected unexpectedValue --expected" can now set the "expected" option - only "--unexpected" and "unexpectedValue" are added to RemainingArguments in that case - default behaviour of the command-line parser is unchanged to avoid breaking existing applications - new switch is supported only when calling `CommandLineApplication` constructor for top-level commands - `dotnet-getdocument` (the outside man) has no (sub)commands and expanding scope would increase churn nits: take VS suggestions in changed files
dougbu
added a commit
to dotnet/extensions
that referenced
this issue
Aug 22, 2019
- unblocks work on dotnet/aspnetcore#4923 - arguments for inside and outside men of service reference doc gen tool are mixed by default - users may add either argument type to the end of the outside man's command line - e.g. "command --unexpected unexpectedValue --expected" can now set the "expected" option - only "--unexpected" and "unexpectedValue" are added to RemainingArguments in that case - default behaviour of the command-line parser is unchanged to avoid breaking existing applications - new switch is supported only when calling `CommandLineApplication` constructor for top-level commands - `dotnet-getdocument` (the outside man) has no (sub)commands and expanding scope would increase churn nits: take VS suggestions in changed files
dougbu
added a commit
to dotnet/extensions
that referenced
this issue
Aug 22, 2019
…2210) - unblocks work on dotnet/aspnetcore#4923 - arguments for inside and outside men of service reference doc gen tool are mixed by default - users may add either argument type to the end of the outside man's command line - e.g. "command --unexpected unexpectedValue --expected" can now set the "expected" option - only "--unexpected" and "unexpectedValue" are added to RemainingArguments in that case - default behaviour of the command-line parser is unchanged to avoid breaking existing applications - new switch is supported only when calling `CommandLineApplication` constructor for top-level commands - `dotnet-getdocument` (the outside man) has no (sub)commands and expanding scope would increase churn nits: take VS suggestions in changed files
dougbu
added a commit
that referenced
this issue
Aug 23, 2019
- #4923 - typo caused problems when cleaning files - add `%(OpenApiProjectReference.GlobalPropertiesToRemove)` metadata - address timing issues cropping up occasionally in builds using service ref features - avoid `AfterTargets="Build"`; referencing projects sometimes continue while post-build work is done - run after `CoreBuild` in inner builds and after `DispatchToInnerBuilds` in outer builds - do same in GetDocumentInsider.csproj - set only properties in buildMultiTargeting\Microsoft.Extensions.ApiDescription.Server.targets - items not evaluated early enough to reference in all cases - rename Microsoft.Extensions.ApiDescription.Client tasks - remove net461 task assembly
dougbu
added a commit
that referenced
this issue
Aug 23, 2019
- #4923 - typo caused problems when cleaning files - add `%(OpenApiProjectReference.GlobalPropertiesToRemove)` metadata - address timing issues cropping up occasionally in builds using service ref features - avoid `AfterTargets="Build"`; referencing projects sometimes continue while post-build work is done - run after `CoreBuild` in inner builds and after `DispatchToInnerBuilds` in outer builds - do same in GetDocumentInsider.csproj - set only properties in buildMultiTargeting\Microsoft.Extensions.ApiDescription.Server.targets - items not evaluated early enough to reference in all cases - rename Microsoft.Extensions.ApiDescription.Client tasks - remove net461 task assembly
dougbu
added a commit
that referenced
this issue
Aug 23, 2019
- #4923 - typo caused problems when cleaning files - add `%(OpenApiProjectReference.GlobalPropertiesToRemove)` metadata - stop removing `$(Configuration)` or `$(Platform)` global properties - address timing issues cropping up occasionally in builds using service ref features - avoid `AfterTargets="Build"`; referencing projects sometimes continue while post-build work is done - instead use `BeforeTargets="Build"` since that's a no-op target wrapping up a build - set only properties in buildMultiTargeting\Microsoft.Extensions.ApiDescription.Server.targets - items not evaluated early enough to reference in all cases - rename Microsoft.Extensions.ApiDescription.Client tasks - remove net461 task assembly
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is this a Bug or Feature request?
Enhancement that's part of #4896
Description of the problem
Microsoft.DotNet.Cli.CommandLine
code withMicrosoft.Extensions.CommandLineUtils.Sources
package (Use Microsoft.Extensions.CommandLineUtils and Microsoft.Extensions.Tools.Internal in service ref programs #13323)Internal.WebHostBuilderFactory.Sources
package (4c8ca0b)(Use Microsoft.Extensions.CommandLineUtils and Microsoft.Extensions.Tools.Internal in service ref programs #13323)Microsoft.Extensions.Logging
Reporter
class shared with other tools in this repoVersion of
Microsoft.AspNetCore.Mvc
orMicrosoft.AspNetCore.App
orMicrosoft.AspNetCore.All
See the features/client.code.generation branch. That work is intended for the 2.2 Preview 3 milestone.
The text was updated successfully, but these errors were encountered: