Comments (3)
Thank you, fixed.
from finished-flutter-firebase-ddd-course.
The naming of this factory is quite unfortunate. I should really fix it to not be Firebase-specific, but even now, this factory logic doesn't have anything to do with Firebase. It simply takes any String
and trusts that it's unique. Perhaps renaming the factory to fromIdString
would do?
from finished-flutter-firebase-ddd-course.
The purpose of this factory should be to create a UniqueId
object from a string that we trust and we know is already unique.
So, maybe you could call the factory UniqueId.fromTrustedString
or UniqueId.fromUniqueString
.
from finished-flutter-firebase-ddd-course.
Related Issues (17)
- [Discussion] Project structure HOT 6
- Error with copyWith in sign_in_form_bloc.dart HOT 7
- Error with GetIt package HOT 3
- JsonSerializableGenerator Generated code issue
- Argument type dynamic can't be assigned to String HOT 1
- Firebase ddd
- The mystery of Unit Testing with Firestore HOT 2
- Can we use method of Abstract class directly from it?
- Can we use method of Abstract class directly from it? Like here in first line we used IAuthFacade instead we might have used its implementation right? HOT 1
- Implement DDD with riverpod
- (flutter_bloc 8.0.1) Emitting streamed event in sign_in_form_bloc HOT 4
- Need to change bodyText2 to body2 HOT 1
- Upgraded minimum sdk version to 21
- TextFormField not validating correctly HOT 3
- Firestore should not be placed in Repositories HOT 2
- bodyText2 attribute not found in TextTheme Class 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 finished-flutter-firebase-ddd-course.