dolittle-obsolete / DotNET.Fundamentals

Reusable, fundamental abstractions and building blocks
http://www.dolittle.io
MIT License
4 stars 8 forks source link

Revise Resource system and its binding strategies - too rigid #195

Closed einari closed 5 years ago

einari commented 5 years ago

There is a rigidness in how we do the bindings between services exposed for a resource type and the ones offered. It should be possible for an implementation of a resource type to provide additional bindings beyond the service definitions. An example of this is the MongoDB implementation for read models. In addition to providing an IReadModelRepositoryFor<> implementation, it wants to provide bindings for IMongoCollection<> and such

┆Issue is synchronized with this Asana task