-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
Mocks (for MSW) are wrongly generated with deeply nested objects #1692
Comments
Maybe related to #1635 |
melloware
added
mock
Related to mock generation
and removed
bug
Something isn't working
labels
Dec 18, 2024
confirm I got same Problem in version 7.3.0 |
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What are the steps to reproduce this issue?
YAML Path
YAML Schema
What happens?
In the .msw file, it generates the following:
export const getGetApiTenantsTenantIdResponseMock = (): TenantCompositeDto => ({...enabled: faker.datatype.boolean(),
What were you expecting to happen?
In the .msw file, it generated the following:
export const getGetApiTenantsTenantIdResponseMock = (): TenantCompositeDto => ({enabled: faker.datatype.boolean(),
What versions are you using?
7.2.0
The text was updated successfully, but these errors were encountered: