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

Adding indifferent access #1308

Merged
merged 4 commits into from
Jul 23, 2024

Conversation

elizasorber
Copy link
Contributor

@elizasorber elizasorber commented Apr 5, 2024

Tackling issue #1296 Added indifferent access to create_instances_from_response in the ShopifyAPI::Rest::Base class.

Description

Fixes #

Please, include a summary of what the PR is for:

  • What is the problem it is solving?
  • What is the context of these changes?
  • What is the impact of this PR?

How has this been tested?

Please, describe the tests that you ran to verify your changes.

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.
  • I have added a changelog line.

@elizasorber elizasorber requested a review from a team as a code owner April 5, 2024 22:19
@@ -2,6 +2,7 @@
# frozen_string_literal: true

require "active_support/inflector"
require 'active_support/all'
Copy link
Contributor

Choose a reason for hiding this comment

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

image

We should explicitly require hash_with_indifferent_access from active_support and not all

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, this makes sense. Thanks!

@sle-c
Copy link
Contributor

sle-c commented Apr 9, 2024

@elizasorber , could you sign the CLA https://cla.shopify.com/ and comment "I have signed the CLA!"?

@elizasorber
Copy link
Contributor Author

I have signed the CLA!

@elizasorber
Copy link
Contributor Author

@sle-c Hi! Do I need to write tests or a changelog entry to get this issue approved and merged?

@sle-c
Copy link
Contributor

sle-c commented May 14, 2024

hey @elizasorber , yeah we need a changelog entry and also change the import from /all to more explicit imports

@sle-c
Copy link
Contributor

sle-c commented May 14, 2024

there's a rubocop rule that we need to fix as well as rebase on the main branch :)

@sle-c sle-c force-pushed the adding_indifferent_access_issue_1296 branch from 437594c to 359d9ba Compare July 15, 2024 16:55
@sle-c sle-c merged commit 38c55af into Shopify:main Jul 23, 2024
5 checks passed
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

4 participants