GraphQL Pluralsight Course

COURSE: https://app.pluralsight.com/library/courses/graphql-scalable-apis/table-of-contents

NOTES:

  • GraphQL Fields
    • have a Type
      • Scalar (like string, number etc)
      • Complex (Object)
    • have a resolver function (optional)
      • with arguments that can be passed to this function from the client when querying for the field Eg. user(userName: “test”).
      • Here user is the field and userName is the argument to it’s resolver function.
  • In Query Variables, ! means required, so when u define $test: Boolean! it means test is required in this query and isn’t optional

SLIDES: https://goo.gl/photos/XSovJbRx8pXyHYTr5

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s