Comments (9)
Good point. Might make sense to deprecate Currency, delegate everything to Money, and we will remove Currency in 2.4 or 3.0. Would that work?
from datafaker.
Yes, I think this will work.
+1 to remove deprecated Currency faker group in the 3.0 version
from datafaker.
I wonder why we have this class at all?
there is a java class java.util.Currency
which could be reused instead of duplicating logic with yaml
file which is slower
so I would remove one and for the second remove yaml
and replace logic with calls to java.util.Currency
from datafaker.
@snuyanzin good question. I think faker.Currency is pre Java 8, while util.Currency was introduced in Java 8. Might make sense to migrate it.
from datafaker.
In fact it is present in Java since 1.4 ...
In javadocs it is stated that it done based on ISO 4217, so probably would be better to use it
from datafaker.
@bodiam , @panilya am I right that this one now can be closed?
from datafaker.
I think so.
Maybe it also makes sense to leave somewhere a reminder to delete Currency faker in the 3.0.0 release
from datafaker.
I think it will be deleted in version 2.4.0 or 2.5.0. I know it's not entirely "semver", but 3.0 to me sounds like a huge milestone, not just the removal of a class which is is probably used by only a small set of our users.
from datafaker.
The code/javadoc have the removal todo details.
from datafaker.
Related Issues (20)
- Intermitted expressions failures during testing HOT 8
- Regexify method doesn't recognise "^" and "$" chars in datafaker before 2.2.0. HOT 7
- Remove public methods from `IdNumber` that are not intended to be directly called HOT 8
- How to specify country-specific setting, not language-specific? HOT 2
- Feature request: add support to generate a random PNG/SVG. HOT 1
- 2.3.0 Release HOT 13
- Password generation does not always contain a lowercase letter HOT 3
- Publishing docs works now HOT 1
- Memory leak in maps containing FakerContext as a key HOT 30
- Memory leak for seeded random use case HOT 3
- Create a dictionary of obscene words HOT 8
- java.lang.ClassCastException for finance.credit_card provider with Enum argument in Faker expression HOT 5
- Problems with module-info.java with version 2.3.0 HOT 33
- New Project to improving tests HOT 9
- Locale specific generation performance degradation HOT 1
- Fix publishing of snapshots HOT 4
- Code coverage report is broken HOT 4
- Unable to resolve expression during build HOT 12
- Add weighted selection HOT 2
- Faker().locality().allSupportedLocales() returns empty when Datafaker is embedded in Spring Boot Uber JAR HOT 25
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 datafaker.