Særgeir

Results 87 issues of Særgeir

https://github.com/serpro69/kotlin-faker/blob/8a1abbba1ab30692a2147147ee31fd1194315e59/core/src/main/kotlin/io/github/serpro69/kfaker/provider/Source.kt#L12 does not have any functions implemented

enhancement :rocket:
good first issue 🔰
core 🧬

It's not currently possible to obtain a copy or reuse `FakerConfig` with deterministic random generation is needed. This could be done f.eks. by implementing our own version of `java.util.Random` which...

enhancement :rocket:
core 🧬

This was removed in #129 ( https://github.com/serpro69/kotlin-faker/commit/3a9dde0a95017299fecbbdd1a45148ce555db5b8 ) due to changes in `fr` and `ja` dicts - they became directories rather than single files. Therefore it got a bit complicated...

enhancement :rocket:
core 🧬

Would probably be useful to have functions for generating different dates from within `faker`

enhancement :rocket:
core 🧬

A `Git` provider class could be used to create "fake" (read - temporary) local git repositories for testing purposes. Note: this should probably be a separate module, not part of...

enhancement :rocket:

Dark mode is pretty popular these days and would be a nice addition to the docs. Bulma does not have native dark mode support yet, and seeing how jgthms/bulma#2342 has...

enhancement :rocket:
docs :page_with_curl:

After implementing #43 it should be very easy to reuse faker core functionality to create a browser extension using kotlin-js. The extension could be used for pre-filling web forms with...

enhancement :rocket:

Not that it's a big issue, since it can always be explicitly provided with a different len, but it could be preferable to reduce the default length because this function...

enhancement :rocket:
core 🧬

Modify https://github.com/serpro69/kotlin-faker/blob/master/cli-bot/src/main/kotlin/io/github/serpro69/kfaker/app/cli/Introspector.kt to include `Person` provider: ``` val providers: Sequence = faker::class.declaredMemberProperties.asSequence().filter { it.visibility == KVisibility.PUBLIC && (it.returnType.isSubtypeOf(FakeDataProvider::class.starProjectedType) || it.returnType.isSubtypeOf(Person::class.starProjectedType)) } ``` And add the necessary stuff to https://github.com/serpro69/kotlin-faker/blob/master/cli-bot/src/main/resources/META-INF/native-image/io.github.serpro69/cli-bot/reflect-config.json https://github.com/serpro69/kotlin-faker/blob/master/cli-bot/src/test/kotlin/io/github/serpro69/kfaker/app/cli/IntrospectorTest.kt...

good first issue 🔰
bot :robot:

Need to run the native image after packaging it to see if it runs fine