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 extra type to errors for override #1151

Merged
merged 1 commit into from
May 10, 2023

Conversation

mkevinosullivan
Copy link
Contributor

@mkevinosullivan mkevinosullivan commented May 9, 2023

Description

DiscountCode has an errors property that overrides the same property in base.rb, creating a Sorbet type conflict. This commit adds the additional typing to allow the override.

How has this been tested?

Re-running the rest wrapper tests.

Checklist:

  • My commit message follow the pattern described in here
  • I have performed a self-review of my own code.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have updated the project documentation.
  • not applicable I have added a changelog line.

DiscountCode has an errors property that overrides the same property in
Base.rb, creating a Sorbet type conflict. This commit adds the
additional typing to allow the override.

Co-authored-by: Paulo Margarido <64600052+paulomarg@users.noreply.github.com>
@mkevinosullivan mkevinosullivan force-pushed the kos/fix_base_errors_property_types branch from 49d2e26 to 125b693 Compare May 9, 2023 21:02
@mkevinosullivan mkevinosullivan merged commit 0717aa9 into main May 10, 2023
@mkevinosullivan mkevinosullivan deleted the kos/fix_base_errors_property_types branch May 10, 2023 00:46
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems July 11, 2023 18:25 Inactive
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.

None yet

2 participants