-
Notifications
You must be signed in to change notification settings - Fork 315
Open
Description
Hello!
Any chance AsMaybeAsync could be added, just as we have ToResultAsync?
It would allow for less clutter when combined with EF.
Current:
Maybe<Entity> maybeEntity = (await dbContext.Entity.FirstOrDefaultAsync(x => x.Id == EntityId)).AsMaybe();
With AsMaybeAsync:
Maybe<Entity> maybeEntity = await dbContext.Entity.FirstOrDefaultAsync(x => x.Id == EntityId).AsMaybeAsync();
Metadata
Metadata
Assignees
Labels
No labels