Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

fix(codegen-schema): map String list to String list in input type #2205

Merged

Conversation

craicoverflow
Copy link

Fixes #2203

Types of changes

What types of changes does your code introduce to Graphback?

  • Bugfix (non-breaking change which fixes an issue)

Checklist

  • I have read the CONTRIBUTING document.
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Verification

Given model:

"""@model"""
type ModelWithArrayScalar {
  id: ID!
  roles: [String!]!
}

This will create the input type:

input MutateModelWithArrayScalar {
  id: ID!
  roles: [String]
}

Further comments

@craicoverflow craicoverflow merged commit 625a513 into aerogear:master Nov 10, 2020
@craicoverflow craicoverflow deleted the fix/scalar-list-mutation-input branch November 10, 2020 11:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generated GraphQL schema doesn't allow arrays into update mutation
2 participants