biggedy.
biggedy.
WWindmill
Created by biggedy. on 2/1/2024 in #help
Has anyone used AWS Appsync with Windmill?
Yeah I found this thread. Seems to have resolved my issue! Thanks https://discord.com/channels/930051556043276338/1197942760301404191/1197948867874922677
8 replies
WWindmill
Created by biggedy. on 2/1/2024 in #help
Has anyone used AWS Appsync with Windmill?
I have a warning that says “no worker with the tag graphql is running”
8 replies
WWindmill
Created by biggedy. on 2/1/2024 in #help
Has anyone used AWS Appsync with Windmill?
But when I try to use a GraphQL Resource with native GraphQL using this for the resource. { "base_url": "https://MYAPI.amazonaws.com/graphql", "bearer_token": "", "custom_headers": { "Authorization": "MYACCESSTOKEN" } } I can’t seems to connect to the API. If I test the connection it times out if I run the script with a basic query it just hangs loading and all I see is tag: graphql in the “Log & Result” section.
8 replies
WWindmill
Created by biggedy. on 2/1/2024 in #help
Has anyone used AWS Appsync with Windmill?
I have tested this and it worked as expected. import { gql, GraphQLClient } from "npm:graphql-request@6.0.0"; export async function main( accessToken: string, query: string, variables: any, ) { const endpoint = "https://MYAPI.amazonaws.com/graphql"; const client = new GraphQLClient(endpoint); client.setHeader("Authorization", accessToken); const q = gql ${query} ; const res = await client.request(q, variables); return res; }
8 replies
WWindmill
Created by biggedy. on 2/1/2024 in #help
Has anyone used AWS Appsync with Windmill?
I tried running it but it just spins trying to do something with no error/log. I will write it in Typescipt (which I have done before when GraphQL wasn’t a supported language) and see if I have any issues or better error messages there. I currently use Cognito for Auth and therefore I use a custom header “Authorization” instead of the “bearer_token”. I have some resolvers that only require an API key but I can’t seem to establish a connection with either. Not sure if I am going something wrong there?
8 replies
WWindmill
Created by biggedy. on 1/30/2024 in #help
Has anyone setup “export CSV” functionality from a Windmill application before? Any examples?
Thanks @rubenf. I’ll have a go and let you know how I get on.
3 replies