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

Improve shopify-app-express api generic typings #877

Merged
merged 2 commits into from
May 28, 2024

Conversation

fknop
Copy link
Contributor

@fknop fknop commented May 14, 2024

WHY are these changes introduced?

The shopify-app-express package does not include generics for the restResources. This fix improves the typing to add a generic typing for the rest APIs.

WHAT is this pull request doing?

Type of change

  • Patch: Bug (non-breaking change which fixes an issue)
  • Minor: New feature (non-breaking change which adds functionality)
  • Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • I have used yarn changeset to create a draft changelog entry (do NOT update the CHANGELOG.md files manually)
  • I have added/updated tests for this change
  • I have documented new APIs/updated the documentation for modified APIs (for public APIs)

@fknop fknop requested a review from a team as a code owner May 14, 2024 09:59
@fknop
Copy link
Contributor Author

fknop commented May 14, 2024

I have signed the CLA!

Copy link
Contributor

@matteodepalo matteodepalo left a comment

Choose a reason for hiding this comment

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

Thank you!

@matteodepalo
Copy link
Contributor

@fknop could you take a look at the CI failures?

@fknop
Copy link
Contributor Author

fknop commented May 21, 2024

@fknop could you take a look at the CI failures?

Yes! I will take a look as soon as I have time! Probably later today or during the week

@fknop
Copy link
Contributor Author

fknop commented May 24, 2024

@fknop could you take a look at the CI failures?

I have updated the code, the tests seem to work locally, I will wait for the CI to end and check again

@fknop fknop requested a review from matteodepalo May 25, 2024 15:05
@matteodepalo matteodepalo merged commit ecc2fde into Shopify:main May 28, 2024
10 checks passed
@fknop fknop deleted the patch-1 branch May 30, 2024 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants