❔ Source generator & protobuf
Is it possible to use source generator or other thing to generate custom code from proto files?
let's say i have:
and i would like to generate for example an create a class
HelloRequestFoo { public string name {get;set;} }
- just an abstract example
ping me if you know6 Replies
The question is from proto files, not the other way around
@CrosRoad95 what have you tried so far? This would be fairly straightforward
I first wanted to ask before i start working on it
Perhaps i have to use c# generated files?
$ig
That's the doc you want to read
The first example is particularly relevant, though your generator will obviously need to do quite a bit more work
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.