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 gRPC conversion support for BillingCard events #7303

Merged
merged 3 commits into from Jun 15, 2021

Conversation

xacrimon
Copy link
Contributor

This PR adds support for BillingCard events to functions used for converting from gRPC formats and back.
Fixes #7274

Copy link
Contributor

@russjones russjones left a comment

Choose a reason for hiding this comment

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

@xacrimon @fspmarshall PR looks good to me. Any ideas on how we can prevent these issues from occurring in the future? Seems we have hit these kinds of issues a few times now.

@xacrimon
Copy link
Contributor Author

The way to do it I think would be writing some list of things that need changing when you edit some code such as adding an event. There isn’t really a good way to prevent it fully in a language like Go. Tests also weren’t added by whomever implemented this event as they should. If a test was written for billing cards this would not have happened. I think the core takeaway is more testing and enforcing it as code reviewers.

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.

Unable to view Audit Events after deleting a credit card
3 participants