spot icon indicating copy to clipboard operation
spot copied to clipboard

Create a PropTypes generator for React components consuming the output of contracts

Open fwouts opened this issue 7 years ago • 3 comments

fwouts avatar Nov 19 '18 22:11 fwouts

Let's see if anyone ever wants this... It's for example not useful when using TypeScript.

fwouts avatar Feb 04 '19 22:02 fwouts

I think things like this could be very useful, but I can't imagine supporting each and every desired generator in the core package. I'd like to work with whomever is interested to come up with a strategy for extending spot's functionality with third-party packages. That way the community can build whatever addons they like without burdening the core maintainers.

kbanman avatar Apr 26 '20 22:04 kbanman

Sorry for the delay @kbanman.

We've been using the generated OpenAPI as the input for our code generators, with moderate success. It turns out the structure of OpenAPI isn't easy to work with.

What approach do you have in mind? Some kind of API exposed by Spot?

fwouts avatar May 20 '20 04:05 fwouts