Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add collection element and map k/v type gen for random class instance #243

Merged
merged 16 commits into from
Jun 29, 2024

Conversation

serpro69
Copy link
Owner

@serpro69 serpro69 commented Jun 16, 2024

Fix #242

TODO:

  • update docs
  • in case of maps, do we want to be able to predefine generators for keys as well? (I can see this not being very useful and even harmful sometimes, e.g. when k/v are the same type like String)
    • try if we can make it "parameterized" and allow the user to specify whether they want to generate keys, values or both in a Map

@serpro69 serpro69 added enhancement 🚀 New feature or request core 🧬 Issue related to :core module labels Jun 16, 2024
@serpro69 serpro69 added this to the 2.0.0 milestone Jun 16, 2024
@serpro69 serpro69 force-pushed the collection_type_generator branch from bcf11ff to c539542 Compare June 27, 2024 08:51
@serpro69 serpro69 changed the title Add collection element type gen for random class instance Add collection element and map k/v type gen for random class instance Jun 29, 2024
@serpro69 serpro69 merged commit baa41bb into master Jun 29, 2024
4 checks passed
@serpro69 serpro69 deleted the collection_type_generator branch June 29, 2024 14:04
serpro69 added a commit that referenced this pull request Jun 30, 2024
serpro69 added a commit that referenced this pull request Jun 30, 2024
Update tests and docs for nullable elements

Relates to #243
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core 🧬 Issue related to :core module enhancement 🚀 New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeGenerator-s are not applied for elements in collections
1 participant