Tag: Kotlin
-
How to unit test function that calls Amplify Api mutate method?
0 I have a system that is using Amplify Api to interact with a GraphQL api that is not part of an Amplify project. None of it was set up with the amplify-cli. I have a function that makes a call to the mutate function of the AmplifyCategory class. I would like to unit test…
-
Android-GraphQL-Apollo client – Query unresolved reference
0 I am trying to integrate graphql in my android project.My package name is app.android.mylife. I have set apollo { packageName.set("app.android.mylife") } in my gradle file. I created the same package structure for graphql folder also. main-graphql-app-android-mylife->(here all graphql files) I am having schema.json file which is also integrated . And defined the query like…
-
Proceesing 2 queries graphql response that have same type into array
0 I have 2 queries that have same type I tried to insert findOrderByOid into [FindOrderByRestaurantId] like this var orderListData: ArrayList<FindOrderByRestaurantIdQuery.FindOrderByRestaurantId?> = ArrayList() fun getOrderList(){ scope.launch { apolloBuilder.apolloBuild().query( FindOrderByRestaurantIdQuery( id = "1" ) ).execute().apply { orderListData = data?.findOrderByRestaurantId?.toCollection(ArrayList()) ?: ArrayList() } } } fun getOrderDetail(){ scope.launch { apolloBuilder.apolloBuild().query( FindOrderByOidQuery( oid = "15" ) ).execute().apply {…
-
Proceesing 2 queries apollo graphql that have same type into 1 array
0 I have 2 queries that have same type I tried to insert findOrderByOid into [FindOrderByRestaurantId] like this var orderListData: ArrayList<FindOrderByRestaurantIdQuery.FindOrderByRestaurantId?> = ArrayList() fun getOrderList(){ scope.launch { apolloBuilder.apolloBuild().query( FindOrderByRestaurantIdQuery( id = "1" ) ).execute().apply { orderListData = data?.findOrderByRestaurantId?.toCollection(ArrayList()) ?: ArrayList() } } } fun getOrderDetail(){ scope.launch { apolloBuilder.apolloBuild().query( FindOrderByOidQuery( oid = "15" ) ).execute().apply {…
-
With Apollo Graphql, is it the same having a field as null and not sending it?
0 I am implementing a React Typescript app that communicates to a Kotlin backend using GraphQL (Apollo on the Frontend). My mutation is : updateProfile(input: UpdateProfileInput) input UpdateProfileInput { firstName: String lastName: String email: String } I am supposed to send as an input only the fields that have been changed. So I should not…
-
How to retrieve data where a record field matches with any item in the given list?
0 How to get all records from AWS Amplify GraphQL API where the field(example busNumber) of a model matches with any item in the given list. Note:- busNumber is of type String I am using AWS client side library to perform this in Kotlin in android studio. My Dependencies are:- implementation ‘com.amplifyframework:core:1.4.0’ implementation ‘com.amplifyframework:aws-api:2.14.1’ This…
-
Android Developer – BayOne Solutions – Sunnyvale, CA
BayOne Solutions Sunnyvale, CA $70 – $75 Contract: Independent, W2, 6 Month(s) Work from home Skills Kotlin RestAPI GraphQL Job Description Job Title- Android Developer (Job ID: Job ID- WECJP00027285) Job Location- Sunnyvale, CA (Hybrid role) Duration: 6+ months You can work on C2C as well. Client Notes: Android Developer with Kotlin Rest API, GraphQL…
-
Android Developer – Gemini Consulting Services – Irving, TX
Gemini Consulting Services Irving, TX Depends on Experience Contract: W2 Skills Android Developer Kotlin GraphQL Solutions architect experience Job Description MUST HAVE: 8+ years of android development experience GraphQL Kotlin (experience with latest framework) Solutions architect experience • Can you please provide a summary of the project/initiatives which describes what’s being done? The…
-
Android Developer – VDart, Inc. – Plano, TX
VDart, Inc. Plano, TX Full Time, Accepts corp to corp applications, Contract: W2, Independent Skills Android Kotlin GraphQL Job Description VDart Inc is the leading global provider of digital solutions, products and talent management company providing digital technology solutions in Automotive, Manufacturing, Energy & Utilities and Healthcare Industries. Led by a strong global team located…
-
Android Developer – Raas Infotek LLC – Remote
Raas Infotek LLC Remote Depends on Experience Contract: W2 Skills JSON GraphQL Kotlin eCommerce Job Description Android Developer Job Description: Strong Android mobile app developer to perform both engineering and maintenance tasks Responsibilities Develop new features and user interfaces from wireframe models together with unit and integration tests Ensure solid application performance and excellent…