Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readonly properties, no __typename option #22

Open
calebgregory opened this issue Mar 25, 2021 · 1 comment
Open

Readonly properties, no __typename option #22

calebgregory opened this issue Mar 25, 2021 · 1 comment

Comments

@calebgregory
Copy link

calebgregory commented Mar 25, 2021

We use Readonly properties and strip out __typename for all Typescript types we generate from GraphQL Schema (using options immutableTypes: true and skipTypename: true). These test factories are a Godsend, and I absolutely love that this library exists. Is it possible to add support for Readonly properties and skipTypename?

@calebgregory calebgregory changed the title Readonly properties Readonly properties, no __typename option Mar 25, 2021
@stephenh
Copy link
Contributor

@calebgregory ...um...like a year later, we realized we weren't watching notifications on this repository :-( sorry about that!

But yeah, these are a good idea to implement; happy to help chat through a PR if this is still something at all relevant to you these days :-D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants