Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More GraphQL language feature examples #188

Open
acao opened this issue Nov 20, 2020 · 2 comments
Open

More GraphQL language feature examples #188

acao opened this issue Nov 20, 2020 · 2 comments

Comments

@acao
Copy link
Member

acao commented Nov 20, 2020

It would be grand to add more examples to the schema of new features we have. That way, we can fully demonstrate the features of GraphiQL, etc to newcomers!

high priority:

  • fields with resolvers that yield after a delay, for demoing @defer/@stream

all else:

  • unions
  • interfaces implementing interfaces
  • custom directives and scalars maybe? demoing new directive introspection features would be nice
  • subscriptions - how to do this with netlify functions though? possible with aws in a complicated way... would be cool to have a subscription field that provides realtime starship coordinates
@acao
Copy link
Member Author

acao commented Nov 20, 2020

@n1ru4l would you like to add to this schema some fields that make it easier to demo defer/streamed content? obviously we can defer or stream any field, but using generators with setTimeout(), it seems we can amplify the visual effect

@n1ru4l
Copy link

n1ru4l commented Nov 20, 2020

@acao I will try to take a look this weekend!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants