If a user has their API models in a seperate assembly and wants to use the HateoasObject class in that assembly, that assembly would need a dependency on this package, resulting in a dependency on ASP.NET Core.
This is not desirable!
That is why we should have 2 packages. munisio and munisio.abstractions (or something). Munisio should have a dependency on munisio.abstractions.
If a user has their API models in a seperate assembly and wants to use the
HateoasObject
class in that assembly, that assembly would need a dependency on this package, resulting in a dependency on ASP.NET Core.This is not desirable!
That is why we should have 2 packages.
munisio
andmunisio.abstractions
(or something).Munisio
should have a dependency onmunisio.abstractions
.