Comments (2)
Example of the pattern implemented, but without macros, is in https://github.com/audunhalland/rust-realworld-ioc/.
from entrait.
Fixed by 7b421df, using a completely different and better approach.
from entrait.
Related Issues (20)
- Multiple implementations of the same trait? HOT 7
- REAL dependency inversion: Support internal dispatch by using a pair of traits HOT 5
- Entrait 0.5 plans
- Investigate always taking self by value HOT 7
- Footnote link (1) in docs is broken
- Revise how unimock types are exported HOT 1
- `#[entrait_impl] mod {}` should just be replaced by an impl block
- Remove entrait_impl and entrait_dyn_impl
- Traits with multiple methods HOT 2
- Trait method cfgs aren't honored HOT 2
- Axum example doesn't compile HOT 4
- Using the Borrow trait for borrowing members is a misuse of the API
- Things to deprecate in next major version
- Associated types fail to compile HOT 6
- Find a working design pattern for modelling transaction-like things
- Dependency issues when using unimock HOT 6
- Mocking traits with &impl and &mut impl parameters HOT 2
- Generics in app state HOT 2
- Impl expansion incorrectly adding lifetime from method HOT 2
- Improve documentation and examples HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from entrait.