Replies: 2 comments 6 replies
-
You don't have to use that setup for adding custom logic to Apollo, you can use Apollo-Link for that. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there. Sorry if I'm being dumb here but I'm trying to accomplish something that seems like it would be fairly easy but I've been unsuccessful. I have to use the "generic sdk" plugin so I can control creating the Apollo client since we need custom authentication. My Requester is defined as follows:
I have a few fields that use AWSJSON (from AppSync) scalars which map to "any". The problem is these appear to go over the wire as simple strings. I would love to have a wrapper that automatically does a JSON parse/stringify but I just can't figure out where to plug this in.
UPDATE: I should also mention I'm attempting to do this from a backend Node component.
Any help would be greatly appreciated!!
Thanks,
tim
Beta Was this translation helpful? Give feedback.
All reactions