StrawberryShake sending custom class within extensions
Is your feature request related to a problem?
IDK!
The solution you'd like
sorry to open this issue but i couldn't find a soluation anywhere
i'm still new to graphql stuff
i need to send a json request to the appsync websocket server like below
{ "id": "ab591d90-a859-40e4-a003-5682e03fddaf", "payload": { "data": { "query": "Some query", "variables": { "requestorId": "ab591d90-a859-40e4-a003-5682e03fddaf" } }, "extensions": { "authorization": { "host": "HOST", "x-api-key": "x-api-key" } } }, "type": "start" }
and what i've understand from StrawberryShake Doc/src that StrawberryShake will auto handle define needed json properties like (id,payload,data,variables,extensions(if available) and the type) and you only have to define your needed properties like query,extensions ..etc is that right?
but couldn't figuare away to define the authorization class within the extensions i know that i have to define it in the "schema.extensions.graphql" some how! but idk how to do it to look like the json above! can you please provide some example on how to do that! sorry for my weak english
Product
Strawberry Shake
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
hmm do you want to send these extensions or receive them?
I'm having a similar issue with sending these extensions.