DrSensor / DrSensor/BatchDI

[Note]: experiment of IoC for GraphQL

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
note
Dominant language
C#
Stars
6
Forks
1
PR merge metrics
No merged PRs in 30d

Description

```c#
/** IoC for GraphQL with Architecture oriented */
services.BatchScoped("*Type"); // Only GraphQL Type can be set to Scoped
services.BatchSingleton("*Schema");
services.BatchSingleton("*Service");
services.BatchSingleton("*Query");
services.BatchSingleton("*Mutation");
services.BatchSingleton("*Subscription");
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.