Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Improve formatting
  • Loading branch information
hugener authored Mar 7, 2023
1 parent 6d061c3 commit b90f03a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ public sealed record DivisionExpression(IExpression Lhs, IExpression Rhs) : IAri
public sealed record ValueExpression(int Value) : IExpression;
```

### Generator features
## Generator features
As mentioned the source generator is automatically activated for generating Factory Methods by specifying the partial keyword.
In addition, the DiscriminatedUnion attribute can specify a flags enum (GeneratorFeatures) to control additional code generation.

#### Segregate - Generates an extension method for IEnumerable<Union> that segregates all items into buckets of the different result.
* Segregate - Generates an extension method for IEnumerable<Union> that segregates all items into buckets of the different result.

## Supported diagnostics:
| Diagnostic Id | Description | Code Fix |
Expand Down

0 comments on commit b90f03a

Please sign in to comment.