Skip to content

fix: generate mock for object without dictionary#55

Merged
RicherStAmand merged 3 commits into
fix/SP-10428-generate-type-for-object-without-dictionnaryfrom
fix/SP-10428-generate-mock-for-object-without-dictionnary
Apr 24, 2024
Merged

fix: generate mock for object without dictionary#55
RicherStAmand merged 3 commits into
fix/SP-10428-generate-type-for-object-without-dictionnaryfrom
fix/SP-10428-generate-mock-for-object-without-dictionnary

Conversation

@RicherStAmand
Copy link
Copy Markdown
Contributor

@RicherStAmand RicherStAmand commented Apr 23, 2024

Related to #52
Now that types generator consider additional properties that do not have dictionary, we got a typing issue with the mocks.

Before

Screenshot 2024-04-23 at 4 02 07 PM

After

Screenshot 2024-04-23 at 5 38 39 PM

This PR generate mocks that comply with the generated types

@RicherStAmand RicherStAmand self-assigned this Apr 23, 2024
@RicherStAmand RicherStAmand changed the base branch from master to fix/SP-10428-generate-type-for-object-without-dictionnary April 23, 2024 20:03
@RicherStAmand RicherStAmand marked this pull request as ready for review April 23, 2024 21:39
@RicherStAmand RicherStAmand merged commit 595780a into fix/SP-10428-generate-type-for-object-without-dictionnary Apr 24, 2024
@RicherStAmand RicherStAmand deleted the fix/SP-10428-generate-mock-for-object-without-dictionnary branch April 24, 2024 15:20
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