Apollo Client Transformers
This package is useful for when you have scalars, but you receive them serialized on the client and you don't really want to do the deserialisation in your view layer.
Install
npm i -S apollo-client-transformers
Usage
; const DateTransformer = { return time; }; const transformers = User: createdAt: DateTransformer ; const transformerLink = ; // You can now concatenate it with your http link before creating the client like so:const enhancedHttpLink = transformerLink;