- Add IsCollectionTypeByInterface() to detect types implementing IList<T>, ICollection<T>, IEnumerable<T> - Add GetCollectionElementTypeByInterface() to extract element type from collection interfaces - Add IsCollectionInternalProperty() to filter out Count, Capacity, IsReadOnly, etc. - Update GenerateComplexTypeMessage to generate `repeated T items` for collection types - Filter out indexers (!p.IsIndexer) and collection-internal properties from all property extraction This fixes the invalid proto syntax where C# indexers (this[]) were being generated as proto fields, causing proto compilation errors. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| build | ||
| Helpers | ||
| Models | ||
| GrpcGenerator.cs | ||
| ProtoFileGenerator.cs | ||
| ProtoFileSourceGenerator.cs | ||
| ProtoTypeMapper.cs | ||
| Svrnty.CQRS.Grpc.Generators.csproj | ||
| WriteProtoFileTask.cs | ||