Skip to content

Commit

Permalink
Update migration docs (#2602)
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalSenn committed Nov 18, 2020
1 parent b8259ee commit 22887c7
Showing 1 changed file with 18 additions and 0 deletions.
Expand Up @@ -460,6 +460,24 @@ New
.AddType<FooType>();
```

## IgnoreField

The order of the parameters in ignore field has changed. The schema name is now optional and was moved to the end.

Old

```csharp
services.AddStitchedSchema(x => x.IgnoreField("SchemaName", "TypeName, "FieldName"));
```

New

```csharp
services
.AddGraphQLServer()
.IgnoreField("TypeName, "FieldName", "SchemaName")
```

## SetExecutionOptions

Execution options can now be configured on the root schema directly:
Expand Down

0 comments on commit 22887c7

Please sign in to comment.