We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 564aad1 commit 1e2d367Copy full SHA for 1e2d367
_docs/schema/schemagen/examples/refiner.md
@@ -28,7 +28,7 @@ internal class NullabilityRefiner : ISchemaRefiner
28
public void Run(SchemaGeneratorContextBase context)
29
{
30
// find the type keyword
31
- var typeIntent = context.Intents.OfType<TypeIntent>().Firs();
+ var typeIntent = context.Intents.OfType<TypeIntent>().First();
32
// determine if the property has an override attribute
33
var nullableAttribute = context.Attributes.OfType<NullableAttribute>().FirstOrDefault();
34
var nullabilityOverride = nullableAttribute?.IsNullable;
0 commit comments