Skip to content

Migrating from value_type to type #255

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

Merged
merged 1 commit into from
Jul 14, 2022
Merged

Conversation

anikghosh256
Copy link
Contributor

@anikghosh256 anikghosh256 commented Feb 23, 2022

In API version 2021-07, Shopify introduced a commerce-oriented type system:

  • In the REST Admin API, the type property replaces the value_type property in the Metafield resource.
  • In the GraphQL Admin API, the type field replaces the value_type field in the Metafield object.

https://shopify.dev/apps/metafields/types

@anikghosh256
Copy link
Contributor Author

@tareqtms, please review this pull request.

@iamgerardm
Copy link

Is this in relation to the notifications I have seen in the Partner App Portal such as this?

Metafield.valueType has been removed. See Metafield.type for type information. View change

@anikghosh256 Have you implemented your change locally - did this remove the warning for you?

@tareqtms tareqtms merged commit 6f56675 into phpclassic:master Jul 14, 2022
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.

3 participants