Questions

  • Not able to access .env variables in NextJS GraphQL

    0 First of all, let me tell you all that I have tried all the stack overflow solutions but none are working in my case, I’m using the new version of NextJS (version 14), so I’m posting this question after going through all of the old questions so don’t marks this as duplicate. Okay coming […]

  • Capital Business Funding

    Hello, We provide funding through our venture capital company to both start-up and existing companies either looking for funding for expansion or to accelerate growth in their company. We have a structured joint venture investment plan in which we are interested in an annual return on investment not more than 10% ROI. We are also […]

  • How do I make GraphQL API requests using fwconsole in FreePBX?

    0 FreePBX has a GraphQL API which allows us to make requests such as the ones documented here. I would like to use the fwconsole api command to make these API requests at the command line. There’s no documentation for how to do this – the only forum post I could find was someone asking […]

  • “Extract” mutation name from an “OperationDefinitionNode” Object?

    1 I am using the webonyx/graphql-php and Laravel. I have a single middleware that "catches" all graphql requests and I would like to apply some logic to filter some requests depending if the request is a mutation and which mutation it is. I "intersect" the graphql query (similar to this one) where the mutation storeCC […]

  • Collaboration request

    Hi there, My name is Mike from Monkey Digital, Allow me to present to you a lifetime revenue opportunity of 35% That’s right, you can earn 35% of every order made by your affiliate for life. Simply register with us, generate your affiliate links, and incorporate them on your website, and you are done. It […]

  • GraphQL : `_contained_in` syntax for search matching key and value pair from jsob field

    0 Unable to create Query for _contained_in using Hasura Graphql _contains Query query MyQuery($data_rule_list: jsonb) { mbr_pgm(where: {nom_org_id: {_eq: "XXX"}, data_rule_list: {_contains: $data_rule_list}}) { data_rule_list key_wrd_txt updt_ver_nbr } } Variable : { "data_rule_list": { "offerNumber": "0196819" } } Facing Issue to Create _contained_in query If Query for _contained_in is : query MyQuery($data_rule_list: jsonb) { mbr_pgm(where: […]

  • How to properly implement GraphQL resolvers

    1 I am creating a basic Graphql project. In this project I am only fetching user details. The data is stored in database. Here is the GQL schema: type User { id: ID! username: String! email: String! age: Int address : String firstname: String lastname :String } type Query { getUserById(id: ID!): User } When […]

  • GitHub GraphQL fetch repositories that are not archived

    5 Is there a way to fetch only the repos that are not archived? { user(login: “SrikanthBandaru”) { id email isHireable name repositories(first: 100) { # fetch only the repos that are not archived edges { node { name isArchived shortDescriptionHTML description descriptionHTML repositoryTopics(first: 10) { edges { node { topic { name } } […]

  • Regarding dynamic field selection in apollo-server

    0 I’m using apollo GraphQL for backend and frontend. I want to dynamically select fields which are requested by the client. With the help of info argument I created a function which gives me selected fields by client and based on that I fetch selected fields from db. Resolver selection.fields = .extractSelection(info?.fieldNodes[0]?.selectionSet) function implementation .extractSelection […]

  • Graphql-WS subscription always returning the whole data set instead of the the delta

    0 I am using the graphql-ws library for subscribing to the following data: export const x = gql` subscription x($user_id: uuid!, $contact: uuid!){ chats(where: { user_id: { _eq: $user_id }, contact: { _eq: $contact }}) { title }` I subscribed as follows: const subscription = client.subscribe({ query: x, variables: { user_id: …, contact: … } […]