Open SpencerC opened 2 years ago
That looks great! Huge improvement in usability and much more concise.
Happy to PR these, or wait and PR them once this is a bit more baked.
If you're up for it a PR would be most welcome even if it's not fully "baked", but it's up to you.
Overview
It's great being able to interact with the gRPC message types directly! But sometimes it's more desirable to work with more simplified semantics, especially for testing. In addition, something like this could be used a a translation type for features like #20 if you guys want to go in that direction.
How it might look
Here's what developers currently have to do to generate test data:
Here's an approach to the same thing with native types:
What I have so far
For my own use, I've created these types so far and intend to add more as needed. Happy to PR these, or wait and PR them once this is a bit more baked.