graphql-code-generator icon indicating copy to clipboard operation
graphql-code-generator copied to clipboard

The article on using mappers does not show code examples

Open laytong opened this issue 1 year ago • 0 comments

Which packages are impacted by your issue?

No response

Describe the bug

Going to the article on how to use mappers linked from the documentation is pretty useless at the moment. All the references to code sandbox show "The workspace of the owner of this VM has run out of credits. Contact them to unlock the VM."

Attempts to use the "fork" button on each sandbox doesn't appear to work/do anything.

I'm looking for complex examples of mappers with types that share an interface and inherit resolvers/reduce codegen

Your Example Website or App

https://the-guild.dev/blog/better-type-safety-for-resolvers-with-graphql-codegen

Steps to Reproduce the Bug or Issue

  1. Go to https://the-guild.dev/blog/better-type-safety-for-resolvers-with-graphql-codegen
  2. See sandboxes don't load

Expected behavior

Sandboxes should load

Screenshots or Videos

No response

Platform

All

Codegen Config File

No response

Additional context

Would be great to see complex examples added to the code examples repos such as https://github.com/charlypoly/codegen-repros/blob/master/reusable-mappers/codegen.yml

laytong avatar Sep 25 '24 18:09 laytong