No content to show
User Activity
We have seen an increase in erroneous RuntimeError failures in the last ~24hr, with an unknown exception error message. We’ve confirmed that they are unrelated to the Shopify CLI performance update. These errors should be mitigated at this point.
08-08-2024
This issue should be resolved in Shopify CLI `3.65.2`:https://github.com/Shopify/cli/releases/tag/3.65.2
08-06-2024
We are investigating an issue with 3.65 on Windows, you might downgrade to 3.64 as a workaround for now.
Hi @rogueyoshi. This is a screenshot of the Storefront API. Functions APIs have their own GraphQL schemas. Generally, functions cannot query unbounded lists, for performance reasons. Thus you need to specify the specific attribute.https://shopify.dev...
This sort of workflow shouldn't be needed anymore! It’s now possible for merchants to share 24hr of execution logs for all functions in your app from the Apps section of admin. This should remove the need for “debug” modes and other hacks to force yo...
05-31-2024
You need to create the customization somehow via GraphQL. The standard/supported way of doing this is with an embedded app UI, as you mention. In absence of an app UI, you could use the GraphiQL app, or use API access with an admin extension somewher...
05-31-2024
What is the instruction count without the message signing?
RSA/SHA256 is pretty heavy, what if you just use a SHA-1 HMAC?
05-31-2024
You might check the compiler options I'm using here, if you haven't already:https://github.com/nickwesselman/polyglot-functions/blob/main/app/extensions/order-discount-golang/build.sh
05-31-2024
I know of several partners successfully doing crypto operations in Rust.I'm surprised TinyGo is that high though. What is your instruction count without the message signature verification? What hashing algorithm are you using?
05-30-2024
Sorry, my answer was not complete -- in the case of cart validation, this is only available on the Shopify for enterprise plan. It is not enabled in any developer preview on Partners without a production shop on this plan.
Hi @emalueg --The only option for getting custom data into a function would be metafields or cart attributes. I'm assuming that this isn't a practical workaround. You might post a feature request here:https://github.com/Shopify/function-examples/disc...
Did you activate the transform via GraphQL? Do you see any function runs at all in the Partners Dashboard?
If it's activated but you don't see any runs at all, I would contact merchant support for the store.
05-30-2024
Hi @sbdev --As this appears to be a validation function, the owner would be the validation object.https://shopify.dev/docs/api/admin-graphql/2024-04/queries/validationhttps://shopify.dev/docs/api/admin-graphql/2024-04/mutations/validationCreate
https...
05-30-2024
Hi @sriram-1 --
Message signing is the only secure way of doing this, and currently there isn't a mechanism for JavaScript/Javy to use crypto in a way that fits within our instruction limits. As mentioned in our docs, cryptographic hashes, such as ...
Hi @sriram-1 --I'm surprised you hit the binary size limit in JavaScript -- but regardless, JavaScript will definitely hit the instruction count limit if you try to do any crypto operations.
Rust would be the more supported option, but you can find...
My Accepted Solutions
Subject | Views | Posted |
---|---|---|
1540 | 08-06-2024 09:20 AM | |
462 | 06-07-2024 03:37 PM | |
944 | 05-31-2024 12:22 PM | |
815 | 05-30-2024 08:53 AM | |
383 | 05-08-2024 03:22 PM |