Questions tagged [resolver]
363 questions
3
votes
2 answers
about getContentResolver() query CallLog
Cursor c = getContentResolver().query(CallLog.Calls.CONTENT_URI, null, null, null, null);
for (int i = 0; i < c.getColumnCount(); i++) {
Log.i(getClass().getName(), "retrieveCall(): " + c.getColumnName(i));
}
I can get all…

thecr0w
- 2,148
- 4
- 33
- 59
2
votes
0 answers
Are there any good articles or tips about the Nginx resolver module?
I can't seem to find any good tutorials on what can be done with ngx_resolver. For example I am trying to find the best way to dynamically update the proxy_pass directive in a vhosts file.

jdorfman
- 781
- 2
- 10
- 21
2
votes
1 answer
gethostbyname() (actually, Boost Asio resolve()) segfaults EXACTLY after 2 hours (120 mins, 7200 seconds)
We have a Foo server(foo.something.org), and Bar client uses a HeartBeat thread to periodically connect() and check if its alive or not. This works fine. But every 2 hours, Bar segfaults while trying to resolve the Foo's hostname.
2 hours = 7200…

Kostolma
- 301
- 1
- 4
- 11
2
votes
0 answers
How to return from a AWS Appsync resolver pipeline without throwing an error
I have a resolver pipeline where I check to see if an item exists. If it does not I want to start a lambda which will create the data. If the queried item exists already I want to return from the pipeline altogether without executing the lambda. It…

Martin Gressler
- 21
- 1
2
votes
0 answers
Amplify Push Fail - Appsync API error - S3 The specified key does not exist
I am facing an error with cloudformation in which my nested stack got stuck in UPDATE_ROLLBACK_FAILED state causing my parent stack to failed. The reason I found out is S3 key missing for my appsync resolvers, although these files are there in S3…

Shaista Aman
- 33
- 4
2
votes
0 answers
How to merge multiple resolvers file into one in apollo graphql
I want to merge multiple resolvers written on different files into one file and then export that file to apollo-server for building up. I used express-graphql previously, I am pasting the code how I do it in express-graphql which does not take…

Ankan Sharma
- 61
- 1
- 7
2
votes
0 answers
How do you define a GraphQL host type using a code-first field resolver?
I am using NestJS with TypeORM to connect with a MongoDB server running on a docker image. I am getting this error when trying to start the application:
type-metadata.storage.js:263
throw new…

Joachim Rives
- 471
- 6
- 19
2
votes
0 answers
NestJs Guard : enable guard on resolverField without error
i have this ,
@Roles(ROLES.ADMIN)
@ResolveField('product', () => String)
async getProduct(@Parent() product: Product) {
return this.productService.getProduct(product);
}
i already add fieldResolverEnhancers: ['guards']
in…

Abderrahmane Arache
- 21
- 1
2
votes
1 answer
Graphql - universal permission guards
I am trying to implement permission guards in a graphql backend using apollo server. The following code works:
Resolvers
const Notification = require('../../database/models/notifications');
const Task =…

Schwesi
- 4,753
- 8
- 37
- 62
2
votes
2 answers
What exactly does it mean to "resolve" a path?
I've now read numerous articles on the use of Java somePath.resolve( someOtherPath ) but I can't find a precise definition, with helpful examples, of what exactly "resolving" a Path means. Everyone seems to assume you know.
Can someone define it…

Robert Lewis
- 1,847
- 2
- 18
- 43
2
votes
1 answer
NestJS GraphQL federation circular resolvers
I am working on an existing GraphQL service, that I have successfully broken down to smaller services, using apollo federation. I have some types being extended by other services and everything works just fine. However, as I followed this example:…

Csanád Vereckei
- 65
- 4
2
votes
1 answer
More than 3 DNS server in ubuntu
I need to configure more than 3 DNS servers in "/etc/resolv.conf".
According to man, it is not supported so I have to recompile glibc
Up to MAXNS (currently 3) name servers may be listed, one per line. If there are multiple servers,
the resolver…

Emma92
- 55
- 1
- 5
2
votes
1 answer
Angular resolver get an Observable
I work on Angular 10 project. I get data from my backEnd with a simple
return this.http
.get<{ returned: Animal[] }>('animals')
.pipe(map((res) => res.returned.map((value) => value)));
this is call by my resolver and send through router…

Alphablony
- 23
- 1
- 4
2
votes
0 answers
How to implement angular resolver using function?
I want to create a data resolver for my nav-bar. So using service I can't put it into my app-routing module because of nav-bar components not in the routing module. How to fix it?
If it's duplicated, feel free to close this question, but I didn't…

Janaka Edirisinghe
- 537
- 6
- 15
2
votes
1 answer
How to force sbt to resolve dependencies with scalaVersion compatible with the dependent project
Consider the following contents of some build.sbt and no source code in particular:
lazy val y = (project in file("y"))
.settings(
scalaVersion := "2.11.8",
)
.dependsOn(x)
lazy val x = (project in file("x"))
.settings(
…

jakubdaniel
- 2,233
- 1
- 13
- 20