examples icon indicating copy to clipboard operation
examples copied to clipboard

A Schema First example that uses Authorization

Open joemcbride opened this issue 4 years ago • 2 comments

joemcbride avatar May 14 '21 22:05 joemcbride

Does this sample support scopes services within the custom AuthorizationRequirement? This should be made clear, and if possible included in the sample, as the majority of the questions relating to DI received on the GraphQL.Net repo concern scoped services.

Shane32 avatar May 16 '21 06:05 Shane32

Does this sample support scopes services within the custom AuthorizationRequirement? This should be made clear, and if possible included in the sample

No, this isn't setup to support scoped services specifically. In fact, I should change the evaluator registration to be transient now that I think of it.

I think we should have a separate example specifically showing scoped services registration.

joemcbride avatar May 18 '21 03:05 joemcbride