RESTier icon indicating copy to clipboard operation
RESTier copied to clipboard

How to replace the .AddChainedService<T> Method

Open yulivee opened this issue 11 months ago • 1 comments

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 avatar Mar 04 '24 10:03 yulivee

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

yulivee avatar Mar 20 '24 13:03 yulivee