Skip to content

Update buildTypeWeights to handle lists that resolve to scalars or enums #63

@shalarewicz

Description

@shalarewicz

Currently thebuildTypeWeights tests for queries that resolve to lists of scalars or enums fail. The type weight for these lists should be set to the configured or default type weight for enums or scalars.

  • TODO Enable tests under `fields returning lists of objects of determinate size and...the list resolves to an enum or scalar
  • TODO Enable tests under `fields returning lists of objects of determinate size and...the list resolves to an enum or scalar and a custom scalar weight was configured

Related to #61

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions