sander1095 / munisio

A modern HATEOAS library for .NET to reduce your client-side validation
MIT License
10 stars 6 forks source link

Provide an option to scan and add the hateoas providers for the user #16

Closed sander1095 closed 1 year ago

sander1095 commented 3 years ago

I was too hasty with merging #4, so I forgot that the library now does not search for the providers that the user created to add them to the service collection.

This means that the user would need to do this theirselves, which is not a great user experience: services.AddScoped<HateoasProvider<SomeModel>>()

I would propose the following:

Please keep in mind that #15 might still affect this story a little bit!

sander1095 commented 1 year ago

Closed because the related PR should have implemented this issue.