Join Glenn Block for an in-depth discussion in this video Update the schema, part of API Development in .NET with GraphQL.
- [Instructor] Now we're going to update our schema. The first thing we're going to need to do is to create a GraphQL input type which will correspond with the order create input model that we just created. To do this, we're going to have to work with some new classes that graphql.net provides us. First, there's InputObjectGraphType. This is what we're going to derive our new class from to tell graphql.net it is an input type. Then we're going to use non-null graph type.
This is a way to specify that our fields must have non-null values. Next, we're going to work with some scaler types like StringGraphType, IntGraphType, and DateGraphType, and these are just going to be used so that we can specify what the type will be of the fields that are exposed on our GraphQL type. So let's switch over to Visual Studio and start implementing this.
- Creating a new GraphQL project
- Exposing a new GraphQL API
- Enabling and creating mutations
- Updating and configuring the schema
- Enabling subscriptions
- New GraphQL.NET schema classes
- Creating the OrderEventType
Skill Level Intermediate
Docker for .NET Developers with Visual Studiowith Lee Brandt46m 52s Intermediate
Java Integration with .NET Frameworkwith Reynald Adolphe2h 39m Intermediate
1. Creating a New GraphQL Project
What we're going to build2m 22s
2. Exposing a New GraphQL API
3. Allowing Updates through Mutations
4. Enabling Clients to Subscribe to Notifications
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.