Tag: tag
-
GraphQL query Parameters from Azure Synapse Pipeline
0 I am trying to extract and populate data into Azure Synapse Dedicated SQL pool from an API using ADF pipelines. I was able to implement the query without any parameters using the Copy activity, but I have been encountering issues while trying to add parameters. Most of the methods used till now throws the…
-
Get indexed objects with query, not just ids
0 Newby here with amplify and graphql. I am using amplify v6: https://docs.amplify.aws/react-native/build-a-backend/graphqlapi/data-modeling/ for react native. I was under the impression that graphql would return actual objects within an index, not just the objects id. So I think I have something configured wrong in my schema.graphql since all the queries are generated for me. Or,…
-
useMutation does not work from react front end but works in apollo client with same variables Mutation.js
0 I am trying to executate a mutation called createGroup, when i do it graphQl apolo clients it creates the group in firebase collection successfully but in the react frontend it does not work. When the create button is clicked in the appolo dev tools it shows as mutation started but nothing happens on firebase.…
-
How to use AWS Amplify GraphQL search and aggregate queries in React code?
0 In the current AWS Amplify React documentation there are no any examples showing how to use these GraphQL queries in React code. Can someone please post an example here. Authentication method needs be the API_KEY. Thanks. query SearchStudentsByEmail { searchStudents(filter: { name: { eq: "Rene Brandel" } }) { items { id name email…
-
Apollo Android Client – Cannot access generated classes on classpath
4 I’ve generated the Apollo classes successfully and can see them in the build directory, however they’re not available on the classpath. Strangely the Enum that is generated is available but the classes themselves aren’t. Running the sample project provided on Apollo’s Github does work but I cant see the difference between the configurations. mcve…
-
Why does this AWS AppSync GraphQL query not work?
0 I am trying to create a appsync resolver to query an aurora-postgresql database. I have created a Movie table and have the following mutations(postMovie) and Queries(listMovies, getMoviesByName, singleMovie). The mutation works just fine and so does the listMovies query but the getMoviesByName and singleMovie(retrieves a movie by id) is not working. The error with…
-
Amplify sort property from a model
0 I’m using graphql from amplify I have a 2 models Conversation and Message. Message model belongs to Conversation (conversation has many messages) So when I get Conversation by some criteria I want my messages to be sorted based on created at property. Is there a way to do that? sorting graphql aws-amplify Share Improve…
-
What is the npm command to build and create package of Apollo Grapphql server application?
0 What is the npm command to build and create package of Apollo Grapphql server application? I am using nodemon start command to run the application. But I want to create package and publish it in the server. Which npm command we can use for build and packaging? I am using nodemon start command to…
-
AppSync subscriptions with ApolloClient in React
8 I’m currently using ApolloClient to connect to an AppSync GraphQL API. It all works perfectly for queries and mutations, but I’m having some trouble getting subscriptions to work. I’ve followed the Apollo docs and my App.js looks like this: import React from ‘react’; import ‘./App.css’; import { ApolloClient } from ‘apollo-client’; import { ApolloProvider…