IBM/openapi-to-graphql

Move allOf and oneOf resolution to getSchemaTargetGraphQLType

Open

#387 opened on Mar 30, 2021

View on GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (215 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (1,645 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Currently, the allOf and oneOf resolution logic is in createDataDef. However, it is better suited in getSchemaTargetGraphQLType.

There is a much more in-depth discussion in #330

Contributor guide