Skip to content
New issue

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

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

Already on GitHub? # to your account

Add workaround to generate type for events with no properties #304

Merged
merged 4 commits into from
Jun 19, 2023

Conversation

harsh-joshi99
Copy link
Contributor

@harsh-joshi99 harsh-joshi99 commented Jun 7, 2023

Summary

This PR adds a workaround to generate type for event with no properties by adding a non required dummy property.
JIRA -> STRATCONN-1998

Testing

Tested locally.

Screenshot 2023-06-07 at 10 06 02 AM

@harsh-joshi99 harsh-joshi99 requested a review from oscb June 7, 2023 04:39
Copy link
Contributor

@oscb oscb left a comment

Choose a reason for hiding this comment

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

Thanks for the hard work @harsh-joshi99 !

This looks good, I just left a suggestion.

The CI is failing due to the snapshots needing an update (they have some events with no events already so those will work now).

src/commands/build.ts Outdated Show resolved Hide resolved
@harsh-joshi99 harsh-joshi99 requested a review from oscb June 9, 2023 11:03
Copy link
Contributor

@oscb oscb left a comment

Choose a reason for hiding this comment

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

great work!
I think this is failing just because of the snapshot tests. You can update those with yarn test -- -u and add the changes in the PR

@harsh-joshi99 harsh-joshi99 merged commit 2df060d into master Jun 19, 2023
@harsh-joshi99 harsh-joshi99 deleted the STRATCONN-1998 branch June 19, 2023 06:30
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants