Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: return IServiceCollection from AddGridifyMappers #169

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

skolmer
Copy link
Contributor

@skolmer skolmer commented Jun 5, 2024

Description

This is just a small change that allow us to chain AddGridifyMappers with other calls

builder.Services.AddDbContext<MyDbContext>()
    .AddGridifyMappers(Assembly.GetExecutingAssembly())
    .AddAutoMapper(Assembly.GetExecutingAssembly())

Copy link

what-the-diff bot commented Jun 5, 2024

PR Summary

  • Modification to the AddGridifyMappers Method
    The AddGridifyMappers method, found in DependencyInjectionExtensions.cs file, has been updated. Previously, this method didn't return anything. Now, it's improved to return an object known as IServiceCollection. This allows more flexibility and interaction with the services in our application, leading to better overall software design and functionality.

@alirezanet
Copy link
Owner

Hi @skolmer,
Awesome thanks 💐

@alirezanet alirezanet merged commit 46beaba into alirezanet:master Jun 6, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants