Questions

  • AWS Amplify: The variables input contains a field name that is not defined for input object type

    6 I dont understad what happen here. This is my schema: type MonthResume @model @auth(rules: [{allow: owner, identityClaim: "sub"}]){ id: ID! incomes: Float! spendingByCategory: [Category] } type Category @model @auth(rules: [{allow: owner, identityClaim: "sub"}]){ id: ID! name: String! amount: Float! } This is the autogenerated update mutation that Amplify gives to me: export const updateMonthResume […]

  • Totara GraphQL API Add New Query

    0 I’m trying to add a new query to the Totara External GraphQL API available on Totara v17. Following the docs I’ve created the following structure: local/plugin/webapi/external/get_completions.graphql query local_plugin_get_completions{ local_plugin_get_completions{ id } } local/plugin/webapi/external/schema.graphqls extend type Query { local_plugin_get_completions: [local_plugin_get_completions!]! } type local_plugin_get_completions{ id: core_id, } local/plugin/classes/webapi/resolver/query class get_completions extends corewebapiquery_resolver { public static function […]

  • How to update query on route change using Vue and Urql

    0 I’m trying to find a way to update my query when the route changes (same component). The query is being selected using route meta data. Between Vue router’s navigation guards, hooks, watching for changes, etc, and Urqls "useQuery," I can’t figure out how to structure it to give me new data when the route […]

  • Shopify GraphQL: How to add variants using Python and GraphQL

    0 I’ve been trying to create product with variants using Python and GQL, but lacking something and dosen’t work as I want. it says "Field ‘optionValues’ doesn’t exist on type ‘ProductOption’" but I reffer to a official document and copy it https://shopify.dev/docs/api/admin-graphql/2023-10/mutations/productcreate#examples-Create_a_product_with_options_and_option_values import requests import json # Shopify API credentials shop_url = "ShopURL" access_token = […]

  • FREE fast ranks for letslearngraphql.com

    Hi there Just checked your letslearngraphql.com baclink profile, I noticed a moderate percentage of toxic links pointing to your website We will investigate each link for its toxicity and perform a professional clean up for you free of charge. Start recovering your ranks today: Professional linksprofile Clean up Service Regards Mike Simon Hilkom Digital SEO […]

  • This build is using a beta version of Xcode and can’t be submitted

    34 I cannot submit new Test Flight builds to external testing. I was able to do it yesterday. I’ve tried with both my Mac Mini & MacBook Air, both running Xcode version: 15.0.1 (15A507). This build is using a beta version of Xcode and can’t be submitted. Make sure you’re using the latest version of […]

  • How to add description comments on schema.graphql on AWS Amplify CLI At time of amplify Push

    0 I need to add description of types comments on my local project with amplify, after at time of push i need upload the comments on the schema too, for generate the JSON of Introspection schema with the comments, I already make this with AWS AppSync manually, but I need make that on amplify push… […]

  • Shopify API (using Python): File upload failed due to “Processing Error.” Why?

    1 I am struggling to figure out why I’m not able to successfully upload images to the Files section of my Shopify store. I followed this code here, except mine is a Python version of this: https://gist.github.com/celsowhite/2e890966620bc781829b5be442bea159 import requests import os # Set up Shopify API credentials shopify_store = ‘url-goes-here.myshopify.com’ // the actual URL is […]

  • import error ‘force_text’ from ‘django.utils.encoding’

    49 I’m implementing a graphql solution using python, graphene and django and I’m getting the following import error: Result: Failure Exception: ImportError: cannot import name ‘force_text’ from ‘django.utils.encoding’ "/home/site/wwwroot/.python_packages/lib/site-packages/graphene_django/utils/utils.py", line 6, in <module> from django.utils.encoding import force_text I’m not sure about the versions and whether I need to import an additional module. My requirements.txt is […]

  • Which version of the C Standard Library does the C++23 Standard incorporate?

    7 (My original question was going to be about "What happened to _BitInt?" but that was based on a misreading of some cppreference pages). The Library Introduction section 16.2 of the C++23 Draft Standard says that the C Standard library is supported in C++. The only reference to a specific C standard, however, is in […]