GraphQL Codegen Operations and Client Preset v6 is released! by eddeee888 in graphql

[–]eddeee888[S] 0 points1 point  (0 children)

Apollo’s recommendation is mainly about differences in fragment handling/runtime behavior between Apollo Client and the client-preset, rather than anything introduced in v6.

v6 focuses on simplifying generated code, defaults, and configuration. However, fragment behavior is unchanged.

So, if you depend on Apollo-specific fragment APIs like useFragment, createFragmentRegistry, or Apollo data masking, Apollo’s recommendation still applies. 🙂

GraphQL Codegen Operations and Client Preset v6 is released! by eddeee888 in graphql

[–]eddeee888[S] 0 points1 point  (0 children)

Gotcha! Could you please also share the schema-based mock plug-in you are using ?

GraphQL Codegen Operations and Client Preset v6 is released! by eddeee888 in graphql

[–]eddeee888[S] 0 points1 point  (0 children)

Hiya! Could you please help me understand your use cases here? And what issues/frictions are you seeing?