Alex Banks,Eve Porcello

Learning GraphQL: Declarative Data Fetching for Modern Web Apps

Notify me when the book’s added
To read this book, upload an EPUB or FB2 file to Bookmate. How do I upload a book?
  • Alma Patiñohas quoted5 years ago
    Persisting The Cache
  • Alma Patiñohas quoted5 years ago
    n the developer tools, you’ll find a dropdown that has the “Online” option selected. Selecting “Slow 3G” from the dropdown will simulate a slower response.
  • Alma Patiñohas quoted5 years ago
    Let’s add the command for nodemon to the package.json on the scripts key
  • Alma Patiñohas quoted5 years ago
    enum SortablePhotoField {
    name
    description
    category
    created
    }
    Query {
    allPhotos(
    sort: SortDirection = DESCENDING
    sortBy: SortablePhotoField = created
    ): [Photo!]!
    }
  • Alma Patiñohas quoted5 years ago
    allUsers(first: Int=50 start: Int=0): [User!]!
    allPhotos(first: Int=25 start: Int=0): [Photo!]!
  • Alma Patiñohas quoted5 years ago
    a connection or link between two objects is called an edge.
  • Alma Patiñohas quoted5 years ago
    GraphQL’s built in scalar types (Int, Float, String, Boolean, ID)
  • Alma Patiñohas quoted5 years ago
    Schema First is a design methodology that will get all of your teams on the same page about the data types that make up your application.
  • Alma Patiñohas quoted5 years ago
    hema First is a design methodology that will get all of your teams on the same page about the data types that make up your application.
  • Alma Patiñohas quoted5 years ago
    ut of the box, GraphQL comes with five built-in scalar types: integers (Int), floats (Float), strings (String), Booleans (Boolean), and unique identifiers (ID).
fb2epub
Drag & drop your files (not more than 5 at once)