Skip to content

Commit

Permalink
More docs (pakrym#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrym authored Jan 11, 2021
1 parent 50408e1 commit 91903e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ Jab provides a [C# Source Generator](https://devblogs.microsoft.com/dotnet/intro
- Fast resolution (7x faster than Microsoft.Extensions.DependencyInjection). [Details](#GetService).
- No runtime dependencies.
- AOT and linker friendly, all code is generated during project compilation.
- Easy debugging of the service resolution process (clean stack trace, readable generated code).
- Clean stack traces
![stacktrace](doc/stacktrace.png)
- Readable generated code
![generated code](doc/generatedcode.png)

- Registration validation. Container configuration issues become compiler errors:
![generated code](doc/errors.png)

## Example

Expand Down
Binary file added doc/errors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 91903e1

Please sign in to comment.