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

How to replace the .AddChainedService<T> Method #757

Open
yulivee opened this issue Mar 4, 2024 · 1 comment
Open

How to replace the .AddChainedService<T> Method #757

yulivee opened this issue Mar 4, 2024 · 1 comment

Comments

@yulivee
Copy link

yulivee commented Mar 4, 2024

Currently using RESTier version 1.1.0-rc.1.20231121.1 I get the following tooltip:

AddChainedService

We use the AddChainedServicesMethod to extend the IChangeSetItemAuthorizer with custom logic we depend on.

If this way is deprecated, how is it supposed to look going forward? Where do I find up-to-date documentation on this topic?

Chapter 2.3 in the Docs recommend using the ConfigureApi() method in the Api-Class but I get an Error-Message stating EntityFrameworkApi<T> does not contain a definition for ConfigureApi. I am a bit lost on that... The Northwind-Sample for AspNetCore is a less complex example and does not include custom Authorizer Logic

@yulivee
Copy link
Author

yulivee commented Mar 20, 2024

Tooltip still exists after update to Restier v1.1.0. Still clueless. The referenced docs seem out of date

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

No branches or pull requests

1 participant