Created
February 3, 2020 09:54
-
-
Save activebiz/d383f1edf8cc9d1ad3c9d5483620c2dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected override void Configure(IObjectTypeDescriptor descriptor) | |
{ | |
descriptor.Field<MyField>(f => f.CreateModel(default)) | |
.Argument("input", a => a.Type<NonNullType<MyInputType>>()) | |
.UseValidator<MyModel, MyInputTypeValidator>() | |
.Type<NonNullType<MyModelResult>>(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment