Skip to content
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

Expanded Async support + HttpContext fixes #728

Merged
merged 4 commits into from
Jun 5, 2023
Merged

Conversation

robertmclaws
Copy link
Collaborator

Description

  • Expands Async Support:
    • Allows convention-based naming to support "Async" suffixes (i.e. OnInsertingObjectAsync)
    • All convention-based methods can now return a Task and execute correctly.
    • Fixes a couple bugs where the convention-based methods incorrectly logged warnings to the console.
  • More robust ClaimsPrincipal support
    • .UseClaimsPrincipals() now plugs in a Middleware layer that gets the HttpContext from an IHttpContextAccessor (somewhat related to this issue)

Checklist (Uncheck if it is not completed)

  • Test cases added

- Added support for proper Async naming convention on method names
- Replaced UseClaimsPrincipal with industrial-strength middleware

### Minor fixes
- Fixed a bug in ConventionBasedOperationFilter & ConventionBasedChangeSetItemFilterthat incorrectly dropped into an error message state.
- Update .NET SDK
- Fixed error message text
@robertmclaws robertmclaws merged commit eff96a3 into main Jun 5, 2023
@robertmclaws robertmclaws deleted the tasks/losing-context branch June 5, 2023 20:44
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