Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for GraphQL nested schema #244

Closed
DimitryDushkin opened this issue Mar 23, 2017 · 6 comments
Closed

Support for GraphQL nested schema #244

DimitryDushkin opened this issue Mar 23, 2017 · 6 comments
Assignees
Labels
Type: Question Questions and other discussions

Comments

@DimitryDushkin
Copy link
Contributor

DimitryDushkin commented Mar 23, 2017

I didn't managed to work nested GraphQL schema. Is it expect behaviour? Do we need PR here?)

For example:

Scheme

input UserInput {
  name: UserNameInput
}

input UserNameInput {
  firstName: String
  lastName: String
}

Component

<AutoForm schema={ new GraphQlBridge(graphqlSchema.getType('UserInput'), () => {} } >
   { /* it's getting error */ }
  <TextField name='name.firstName' />
   
  { /* it's also getting error */ }
   <NestField name='name'><TextField name='firstName' /></NestField>
</AutoForm>
@radekmie radekmie self-assigned this Mar 23, 2017
@radekmie radekmie added the Type: Question Questions and other discussions label Mar 23, 2017
@radekmie
Copy link
Contributor

Well, it's working with type UserInput .... It's not a bug, but a field for an enhancement. If you'd like to implement it, I'd love to see (and merge) it.

@radekmie
Copy link
Contributor

@DimitryDushkin?

@DimitryDushkin
Copy link
Contributor Author

@radekmie I think issue can be closed. Not sure when I'll be able to make a PR.

@radekmie
Copy link
Contributor

I think I'll be able to do it, but I'm just asking if it is really needed.

@DimitryDushkin
Copy link
Contributor Author

It is definitely not critical. Thank you.

@DimitryDushkin
Copy link
Contributor Author

❤️

@Monteth Monteth added this to Closed in Open Source (migrated) Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Questions and other discussions
Projects
Archived in project
Development

No branches or pull requests

2 participants