Skip to content

Bug: nested lists in input types are discarded by DataBinder #141

Closed
@koenpunt

Description

@koenpunt

For a mutation with a schema like;

type BookInput {
  name: String!
  authorId: Int!
  options: [BookInputOption!]!
}

type Mutation {
  addBook(bookInput: BookInput!): ...
}

The options are discarded by the DataBinder, because it can't map a List of HashMaps to a List of BookInputOptions.

See this branch for a failing test: https://github.com/koenpunt/spring-graphql/tree/nested-list

Metadata

Metadata

Assignees

Labels

in: coreIssues related to config and core supporttype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions