Questions tagged [resolver]

363 questions
3
votes
1 answer

Spring XML View Resolver Configuration

I am trying to output some model data to a pdf using spring-mvc. It is not working and I was wondering if someone could offer some advice. I have a spring-servlet.xml file that includes the following:
blong824
  • 3,920
  • 14
  • 54
  • 75
3
votes
4 answers

How to integrate Neo4j database, NestJS framework and GraphQL?

I'm trying to integrate my REST API (NestJS) with new Neo4j database with GraphQL queries. Anybody succeed? Thanks in advance EDIT 1: (I added my code) import { Resolver } from "@nestjs/graphql"; import { Query, forwardRef, Inject, Logger } from…
gonzalo
  • 377
  • 2
  • 9
3
votes
2 answers

GraphQL - Security - Protect nested data

Let's assume my app is an e-commerce. There are Users, Orders and Products. You need to be authenticated (with JWT Token) to have access to your user data, and your orders. This check is done in resolvers. However, Products are public. You can see…
Alan
  • 9,167
  • 4
  • 52
  • 70
3
votes
1 answer

AppSync query on Global Secondary Index

I'm trying to get a record from a GSI and I'm stucked. API Schema: type DriverInfos { id: String! status: Int lastLat: Float lastLng: Float idDriver: String # GSI } type Query { getDriverInfosByDriver(idDriver: String):…
Jobel
  • 236
  • 1
  • 3
  • 13
3
votes
1 answer

Angular 6 | Only call a resolver once

I have a resolver on one of my routes in order to allow it to get data before the page actually loads. This required multiple requests therefore I am using rxjs function forkJoin. This returns the data great and the page doesn't load until all of…
user8116198
3
votes
0 answers

unbound pfsense appending internal domain to public queries

I am in the process of setting up pfSense as a firewall/router. I want it to run DNS Resolver so I can use pfblockerng. I have configured 2 public DNS servers using the default gateway to get out. DNS Resolver is configured in forwarding…
phd68lnx
  • 93
  • 1
  • 6
3
votes
2 answers

How do I debug a GraphQL resolver in JavaScript?

I'm following a tutorial on howtographql.com, which creates a very basic GraphQL server with in-memory data and resolvers written in JavaScript. I keep having issues where I'd like to be able to just put a breakpoint in the resolver, but when I'm…
redOctober13
  • 3,662
  • 6
  • 34
  • 61
3
votes
2 answers

wait for state in resolver (ngrx)

right now I have a resolver calling standard service and returning an Observable: return this.someService.getData() .map(data=> data.json()) I want to replace it with ngrx effects and store. When resolver is run I want to dispatch…
3
votes
2 answers

How can i use pass data from one resolver to other

i have 2 angular resolvers works one after another. 1st @Injectable() export class ChainViewResolver implements Resolve { constructor(private a: AService) { } resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot):…
3
votes
1 answer

Write custom webpack resolver

I'm planning on using a set of a little bit more sophisticated conventions to import assets in my webpack project. So I'm trying to write a plugin that should rewrite parts of requested module locators and then pass that down the resolver…
Loilo
  • 13,466
  • 8
  • 37
  • 47
3
votes
2 answers

Assembly resolve at runtime

I want to load assemblies dynamically in my app with the AssemblyResolver event, but I don't understand how to do it. I've saw this tutorial and tried it myself. In tip 3 he wrote: static void Main(string[] args) { …
nrofis
  • 8,975
  • 14
  • 58
  • 113
3
votes
1 answer

Is res_query thread-safe?

Is res_query (int res_query(const char *dname, int class, int type,unsigned char *answer, int anslen);) thread-safe? I think so, because it writes its answer to an user-allocated buffer (in contrast to gethostbyname that uses a statically allocated…
IanH
  • 3,968
  • 2
  • 23
  • 26
3
votes
0 answers

nginx proxy_pass resolver not working

I have setup a nginx (1.9.5) as a proxy for few tomcat servers. I am pointing to these servers through a route53 domain name using proxy_pass directive. Somehow the "resolver" directive which resolves the domain name works once during startup. But…
plspl
  • 728
  • 12
  • 26
3
votes
1 answer

Merge replication does not work with non-default conflict resolver

I have been evaluating merge replication, 'push' subscription on SQL Server 2014. If the default resolver is used (I refer to @article_resolver parameter of sp_addmergearticle), all seems to work as expected. However if I use "Microsoft SQL Server…
3
votes
2 answers

Ivy dependency management for legacy repository

We have a repository which doesn't have ivy.xml and other metadata files. Since, its published by another team which doesn't use ivy/maven but will continue to deliver code frequently. The jars needed for dependency are stored in flat structure…
Akshat
  • 31
  • 3