homebound-team / graphql-typescript-factories

TypeScript test builders/factories for GraphQL schemas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DeepPartial use on nested types causes type errors on assigning array from options

chr1sjf0x opened this issue · comments

To reproduce:

  1. Checkout master branch of homeowner-frontend
  2. Run npm run graphql-codegen
  3. Observe type error:
    image

This issue was discovered while testing the suggested fix for enumOrDetailOf in #6