Charly Poly

Results 142 comments of Charly Poly

@markedwards `arrayInputCoercion` is handled by codegen only at to variable types level (outer types). I did a reproduction example using your configuration here: https://github.com/charlypoly/codegen-repros/blob/10f124beef7a59b64cfbe8776d2e57dce53ecef0/array-input-coercion/types.ts#L42-L44

@Axedyson, the issue seems to come from the inference that `cache.updateQuery()` is doing based on the query definition and the data that you pass from `result`. have you tried to...

I guess the following would work: ```tsx loginUser: (result, _args, cache) => { cache.updateQuery( { query: MeDocument }, () => ({ me: result.loginUser, }) ); } ``` but it's not...

@saevarb, the PR you're looking for is the following: https://github.com/dotansimha/graphql-code-generator/pull/7681 Actually, the previous implementation of `WithTypename` was incorrect, which explains the breaking change. Feel free to suggest any better implementation.

@maltesa, yes we could name it `PartialWithTypeName` (to stay aligned with TS lib's `Partial` naming)

Hi @AndrzejSala ๐Ÿ‘‹๐Ÿผ Just a little heads-up on my previous message โคต๏ธ > Could you please add some tests for this new behavior? ๐Ÿ‘€ > > Thanks!

Note: The way we currently check for file changes is not working if Prettier - or similar code formatter, making the watch mode obsolete. Source: https://github.com/dotansimha/graphql-code-generator/issues/2872#issuecomment-1203644248

> > @klyve, thank you for your raising this concern! > > I've pushed a more conservative alternative, let me know what you think ๐Ÿ‘€ > > I agree with...

Hi! All community plugins (see list below) have been moved to a new [`dotansimha/graphql-code-generator-community`](https://github.com/dotansimha/graphql-code-generator-community). Community plugins: - `@graphql-codegen/typescript-react-apollo` - `@graphql-codegen/typescript-graphql-request` - `@graphql-codegen/typescript-apollo-angular` - `@graphql-codegen/typescript-apollo-client-helpers` - `@graphql-codegen/typescript-react-query` - `@graphql-codegen/typescript-urql` - `@graphql-codegen/named-operations-object`...

Hi @cbmd! Do you still plan to work on this PR? ๐Ÿ‘€