Skip to content

7.0.0 Preview 2 #914

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

Merged
merged 6 commits into from
Nov 17, 2022
Merged

7.0.0 Preview 2 #914

merged 6 commits into from
Nov 17, 2022

Conversation

commonsensesoftware
Copy link
Collaborator

7.0.0 Preview 2

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Changes for the 7.0.0 Preview 2 implementation.

Description

  • Add MapApiGroup as shortcut to MapGroup( "" ).WithApiVersionSet()
  • Add metadata validation to avoid common developer mistakes
  • Replace IApiVersionSetBuilderFactory interface with ApiVersionSetBuilderFactory delegate as an optional factory
  • Add VersionedEndpointRouteBuilderFactory delegate as an optional factory
  • Refactor RouteHandlerBuidler extensions into IEndpointRouteBuilderExtensions
    • This allows adding metadata on an endpoint or route group


return new( apiModel, endpointModel, name );
}
internal static IReportApiVersions ReportApiVersions => reportApiVersions ??= new();

Check notice

Code scanning / CodeQL

Static field written by instance method

Write to static field from instance method or constructor.
@commonsensesoftware commonsensesoftware merged commit e3644b4 into main Nov 17, 2022
@commonsensesoftware commonsensesoftware deleted the dev/css/net7-preview2 branch November 17, 2022 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant