redgeoff / mson

🏗️MSON Lang: Generate an app from JSON
Apache License 2.0
471 stars 33 forks source link

GraphQL mson generator #134

Open barbieri opened 5 years ago

barbieri commented 5 years ago

It would be lovely to have something like https://github.com/wittydeveloper/react-apollo-form that takes the GraphQL schema and output basic MSON components for each input type, as well forms for each mutation (which would use those for input).

Then all the user needs to do is to customize some specific fields for a special visual.

Or even better, use @moso() directive to specify the component and some properties (ie: label, help, block).

redgeoff commented 5 years ago

This is a great idea @barbieri! Any chance you would like to create a sister project that would provide this functionality? I'm focused on some other features right now and don't have the time to devote to a new feature like this.

barbieri commented 5 years ago

I'm still evaluating some alternatives to a project, MSON is one of them. Every time we have the chance to start fresh, we go on a round of solutions that could help -- and if it's one we choose, then yeah, we'd contribute back :-)

Another alternative is the Apollo GraphQL form I pointed above.

redgeoff commented 5 years ago

Gotcha! Well, please keep me posted

On Sun, Feb 24, 2019 at 8:51 AM Gustavo Sverzut Barbieri < notifications@github.com> wrote:

I'm still evaluating some alternatives to a project, MSON is one of them. Every time we have the chance to start fresh, we go on a round of solutions that could help -- and if it's one we choose, then yeah, we'd contribute back :-)

Another alternative is the Apollo GraphQL form I pointed above.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/redgeoff/mson/issues/134#issuecomment-466793691, or mute the thread https://github.com/notifications/unsubscribe-auth/ADOPKoQ7zIKK-J8cMKaPxxRVX6d4cz-fks5vQsMFgaJpZM4bIBmQ .

redgeoff commented 4 years ago

Another idea is to have a MSON builder UI also spit out a GraphQL schema. This could then be piped into something like prisma

jyoost commented 4 years ago

Maybe a graphql store? This would make it totally backend agnostic.

I would be glad to contribute to an apollographql client store.

jyoost commented 4 years ago

@redgeoff I sent you,a connect on LinkedIn.