Last active
February 9, 2024 16:56
-
-
Save benjie/19d784721d1658b89fd8954e7ee07034 to your computer and use it in GitHub Desktop.
Ideas for what the SemanticNonNull syntax could look like
This file contains 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 User { | |
id: ID! | |
username: String* | |
avatarUrl: String | |
bio: String | |
friends: [User*]* | |
} | |
type User { | |
id: ID! | |
username: ~String | |
avatarUrl: String | |
bio: String | |
friends: ~[~User] | |
} | |
type User { | |
id: ID! | |
username: ~String! | |
avatarUrl: String | |
bio: String | |
friends: ~[~User!]! | |
} | |
type User { | |
id: ID! | |
username: String~ | |
avatarUrl: String | |
bio: String | |
friends: [User~]~ | |
} | |
type User { | |
id: ID! | |
username: String!? | |
avatarUrl: String | |
bio: String | |
friends: [User!?]!? | |
} | |
type User { | |
id: ID! | |
username: String? | |
avatarUrl: String | |
bio: String | |
friends: [User?]? | |
} | |
type User { | |
id: ID! | |
username: String^ | |
avatarUrl: String | |
bio: String | |
friends: [User^]^ | |
} | |
type User { | |
id: ID! | |
username: (String) | |
avatarUrl: String | |
bio: String | |
friends: ([(User)]) | |
} | |
type User { | |
id: ID! | |
username: (String!) | |
avatarUrl: String | |
bio: String | |
friends: ([(User!)]!) | |
} | |
type User { | |
id: ID! | |
username: <String> | |
avatarUrl: String | |
bio: String | |
friends: <[<User>]> | |
} | |
type User { | |
id: ID! | |
username: ?String! | |
avatarUrl: String | |
bio: String | |
friends: ?[?User!]! | |
} | |
type User { | |
id: ID! | |
username: !String | |
avatarUrl: String | |
bio: String | |
friends: ![!User] | |
} | |
type User { | |
id: ID! | |
username: String~! | |
avatarUrl: String | |
bio: String | |
friends: [User~!]~! | |
} | |
type User { | |
id: ID! | |
username: String~ | |
avatarUrl: String | |
bio: String | |
friends: [User~]~ | |
} | |
type User { | |
id: ID! | |
username: String!* | |
avatarUrl: String | |
bio: String | |
friends: [User!*]!* | |
} | |
type User { | |
id: ID! | |
username: String!^ | |
avatarUrl: String | |
bio: String | |
friends: [User!^]!^ | |
} | |
type User { | |
id: ID! | |
username: String-! | |
avatarUrl: String | |
bio: String | |
friends: [User-!]-! | |
} | |
type User { | |
id: ID! | |
username: String!! | |
avatarUrl: String | |
bio: String | |
friends: [User!!]!! | |
} | |
type User { | |
id: ID! | |
username: String+ | |
avatarUrl: String | |
bio: String | |
friends: [User+]+ | |
} | |
type User { | |
id: ID! | |
username: String+! | |
avatarUrl: String | |
bio: String | |
friends: [User+!]+! | |
} | |
type User { | |
id: ID! | |
username: String§ | |
avatarUrl: String | |
bio: String | |
friends: [User§]§ | |
} | |
type User { | |
id: ID! | |
username: |String| | |
avatarUrl: String | |
bio: String | |
friends: |[|User|]| | |
} |
Author
benjie
commented
Feb 9, 2024
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment