Created
November 29, 2022 00:04
-
-
Save AaronHarris/7d0a310e0ae7bad6d70084bbf57a26b6 to your computer and use it in GitHub Desktop.
Advanced GraphQL Schema
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Post { | |
id: ID! | |
title: String! | |
title2: String! | |
} | |
type Query { | |
# Get a single value of type 'Post' by primary key. | |
singlePost(id: ID!): Post | |
@deprecated(reason: "Use localization field instead") | |
"documentation string" | |
myPost: Post | |
post2(id: ID!): AWSJSON | |
""" | |
block string | |
""" | |
newthing: AWSJSON | |
callLambda: String | |
} | |
enum TestEnum { | |
HAHA # Comment | |
} | |
schema { | |
query: Query | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment