Skip to content

Instantly share code, notes, and snippets.

View ashrocket's full-sized avatar
🤩
writing code

Ashley Raiteri ashrocket

🤩
writing code
View GitHub Profile
@ashrocket
ashrocket / content-loading-placeholder.markdown
Created April 2, 2024 17:34
Content Loading Placeholder
@ashrocket
ashrocket / _aws.graphql
Last active March 12, 2023 19:23 — forked from sc0ttdav3y/_aws.graphql
AWS AppSync GraphQL scalars and directives to support type completion and error checking in Webstorm IDEs
"""
This directive allows you to quickly & easily configure AWS Lambda resolvers within your AWS AppSync API.
https://docs.amplify.aws/cli-legacy/graphql-transformer/function/
https://docs.amplify.aws/cli/graphql/custom-business-logic/#lambda-function-resolver
"""
directive @function(name: String!, region: String) on FIELD_DEFINITION
"""This directive allows results to be deferred during execution"""
directive @defer on FIELD