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

MINF-2398 Specify collectionSize for collections #12

Merged
merged 3 commits into from
Jun 26, 2024
Merged

Conversation

kelvinwong11
Copy link
Contributor

Adds a new parameter for generateTestObject() to specify collection size.

Should the arrays in generateValueForSimpleField() also account for this parameter?

@@ -66,20 +68,24 @@ import kotlin.reflect.javaType
* specify a consistent value for this field.
* @param useNullForNullableFields If true, then all fields that are nullable will be set to null,
* unless specified in the overrides map.
* @param collectionSize If specified, supported collection types will be set to that size rather
* than
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the sentence is incomplete?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I distinctly remember getting distracted with a meeting while writing this, and I guess not finishing the comment when pushing

@kelvinwong11 kelvinwong11 merged commit cd90d3a into main Jun 26, 2024
1 check passed
@kelvinwong11 kelvinwong11 deleted the collectionSize branch June 26, 2024 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants