Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Import Project="releasenotes.props" />

<PropertyGroup>
<VersionPrefix>1.0.0-beta</VersionPrefix>
<VersionPrefix>1.0.1-beta</VersionPrefix>
<!-- SPDX license identifier for MIT -->
<PackageLicenseExpression>MIT</PackageLicenseExpression>

Expand Down
1 change: 1 addition & 0 deletions LayeredCraft.DecoWeaver.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<File Path="docs\getting-started\quick-start.md" />
</Folder>
<Folder Name="/docs/usage/">
<File Path="docs\usage\assembly-level-decorators.md" />
<File Path="docs\usage\class-level-decorators.md" />
<File Path="docs\usage\multiple-decorators.md" />
<File Path="docs\usage\open-generics.md" />
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ DecoWeaver is a .NET incremental source generator that brings **compile-time dec
- ⚡ **Zero runtime overhead** - No reflection or assembly scanning at startup
- 🎯 **Type-safe** - Catches configuration errors at compile time
- 🚀 **Fast** - Incremental generation with Roslyn
- 🔧 **Simple** - Just add `[DecoratedBy<T>]` attributes
- 🔧 **Simple** - Class-level or assembly-level decorator attributes
- 🌐 **Flexible** - Apply decorators globally or per-implementation
- 📦 **Clean** - Generates readable, debuggable interceptor code

📚 **[View Full Documentation](https://layeredcraft.github.io/decoweaver/)**
Expand Down Expand Up @@ -70,6 +71,9 @@ For more examples including open generics, multiple decorators, and ordering, se

## Key Features

- **Assembly-Level Decorators**: Apply decorators to all implementations from one place with `[assembly: DecorateService(...)]`
- **Class-Level Decorators**: Apply decorators to specific implementations with `[DecoratedBy<T>]`
- **Opt-Out Support**: Exclude specific decorators with `[DoNotDecorate]`
- **Multiple Decorators**: Stack multiple decorators with explicit ordering
- **Generic Type Decoration**: Decorate generic types like `IRepository<T>` with open generic decorators
- **Type-Safe**: Compile-time validation catches errors early
Expand Down
Loading
Loading