27 upon upgrading my Xcode today to version 15, I receive the following error when building my app for IOS: Error (Xcode): DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead It appears some specific dependencies are causing this issue, in my case: objectbox_flutter_libs: ^2.2.1 firebase_core: ^2.16.0 I have no idea how to solve […]
0 so, for example i have user entity which has related adverts (one user -> many adverts) use async_graphql::{self, SimpleObject}; use chrono::NaiveDateTime; use sea_orm::entity::prelude::*; #[derive(Clone, Debug, PartialEq, DeriveEntityModel, SimpleObject)] #[sea_orm(table_name = "user")] #[graphql(name = "User")] pub struct Model { #[sea_orm(primary_key)] pub id: i32, pub created_at: NaiveDateTime, pub updated_at: NaiveDateTime, pub name: String, pub surname: String, […]
0 Hoping to run integration tests against an in memory server. If I were to create the in-memory server using WebApplicationFactory<Program>, how would I instantiate a GraphQLHttpClient against it? The constructors for GraphQLHttpClient expect an endpoint. I know I could run integration tests against an in memory server in dotnet core 7.0 using an HttpClient […]
0 so i have 2 entities in my database use async_graphql::{self, SimpleObject}; use chrono::NaiveDateTime; use sea_orm::entity::prelude::*; #[derive(Clone, Debug, PartialEq, DeriveEntityModel, SimpleObject)] #[sea_orm(table_name = "adverts")] #[graphql(name = "Advert")] pub struct Model { #[sea_orm(primary_key)] pub id: i32, pub created_at: NaiveDateTime, pub updated_at: NaiveDateTime, pub available: bool, pub price: f32, pub location: String, pub user_id: i32, // pub […]
0 I have defined following enum type in my graphql schema enum TimeUnit { Day Week Month Year } I am using apollo graphql client and generating models which create a java enum like: public enum TimeUnit { DAY("Day"), WEEK("Week"), MONTH("Month"), YEAR("Year"), /** * Auto generated constant for unknown enum values */ $UNKNOWN("$UNKNOWN"); private final […]
0 I am trying to fetch all the Payment Methods enabled on a Braintree account using GraphQL but unable to. Query: query ClientConfiguration { clientConfiguration { analyticsUrl assetsUrl clientApiUrl environment merchantId } } Response: { "errors": [ { "message": "The requested field is not accessible with the provided authentication credentials.", "locations": [ { "line": 4, […]
0 I’m trying to query another system with a GraphQL query. Due to the system only takes REST queries I use the @rest operator to convert the query. But the REST query has an array as response which leads to the following error: {"name":"ApolloError","graphQLErrors":[],"clientErrors":[],"networkError":{},"message":"typename is undefined"} GraphQL query: const QueueStatusQuery = gql` query checkQueueStatus_HLS{ robot(input:{}) […]
0 I’m mirroring a question asked directly on GitHub here. I’m up to the point where if I authorize("/subscriptions",permitAll) while configuring my SecurityWebFilterChain then I can successfully use my subscription queries. However, that removes all the security. I would have liked to do: authorize("/subscriptions",hasAuthority("access")) Anyway, now I need to make sur that the user is […]
0 So I have Nuxt 3, and Strapi with graphql. I want to get the data from Strapi via Graphql This works for the full data: <template> <div> <p> {{ data }}</p> </div> </template> <script setup lang="ts"> const query = gql` query headerPicMediaUrl { productsMedias{ data{ id attributes{ HeaderPic1{data{attributes{url}}} } } } } ` const […]