Questions tagged [resolver]

363 questions
2
votes
1 answer

babel-plugin-root-import paths are not been resolved by ESlinter

I'm using babel-plugin-root-import to resolve the relatives path and it works fine, also i'm following the airbnb standards and using eslint-plugin-import to check the imports but i'm still triying to remove the import rules. I'm already try to…
2
votes
1 answer

How can I use a resolver that doesn't copy artifacts to the cache in Ivy?

I have a resolver in my ivysettings.xml, along with the central M2 repository, and it all works OK. However, I was wondering whether there is a way to bypass the cache entirely for the dependencies found with the filesystem resolver. I…
Jean-Philippe Pellet
  • 59,296
  • 21
  • 173
  • 234
2
votes
2 answers

Rails 6, @unbound_templates is nil in actionview/lib/action_view/template/resolver.rb

Upgrading from Rails 5.2.3 to 6.0.0 or 6.0.1, with Ruby 2.6.3, after bundling succeeds, the rails app:update command has been carefully run, and webpacker updated, a request to any page that requires no authentication gives: Puma caught this error:…
snowangel
  • 3,452
  • 3
  • 29
  • 72
2
votes
1 answer

Trying to get specific parts of data inside route resolver Angular

I am trying to use a resolver to attach data to my route when routing to specific items within a collection. I had my data stored locally in a service and used a method on the service to find the item whose name matched the route param I was…
2
votes
0 answers

How to specify in sbt a specific ivy "latest strategy" to use

I'm configuring build.sbt to load dependency libraries, and for one I want to use 'latest.revision'. How do I specify Ivy's "latest strategy" to use to consider the "latest"? I'm using: "com.foo.boo" % "something" % "latest.integration" If there…
2
votes
1 answer

How to access arguments on child resolver from parent call in AWS Appsync

I have two types: Todo and Comment. type Todo { id: ID! name: String description: String priority: Int status: TodoStatus comments: [Comment] } type Comment { todoid: ID! commentid: String! content:…
2
votes
1 answer

graphql: Must provide Source. Received: {kind: "Document, definition ...}

I'm really new to Graphql (just yesterday actually). I am "playing" around and try the various tools of the ecosystem (apollo-server, graphql.js ...ect). For the sake of experimenting, I am trying to call a query from within nodejs (and not from a…
TheSoul
  • 4,906
  • 13
  • 44
  • 74
2
votes
3 answers

AppSync + DynamoDB: filter by owner

I'm trying to write a resolver template for a Scan that filters by owner. Here is what I tried so far (this is my request template): #set( $identityValue =…
J. Hesters
  • 13,117
  • 31
  • 133
  • 249
2
votes
1 answer

Angular Routing Route Params is empty object in Child Component's Resolver

This is my route setup. const appRoutes: Routes = [ { path: '', component: HomeComponent }, { path: 'get', canActivateChild: [CanActivateOrder], children: [ { path: '', redirectTo: 'confirm', …
Anjil Dhamala
  • 1,544
  • 3
  • 18
  • 37
2
votes
0 answers

How to query authoritative dns server in java to get txt records instantly

I am trying to validate txt records in the dns in order to verify if a domain is owned by an entity. To do this I will ask the domain owner to add a txt record I provide. After they make the change I need to instantly check whether the txt value is…
2
votes
1 answer

Redirection with resolvers Angular 6

I use angular-cli for my application and I have a login page and here is the handler to submit it: onSubmit() { this.authService.login(this.uname.value, this.pass.value) .subscribe( (user: User) => { this.username =…
yuli6
  • 21
  • 1
  • 4
2
votes
3 answers

AWS Appsync Batch Resolver

Struggling with this for sometime now, and applogies I changed the query name for the question to getDeviceReadings, I have been using getAllUserDevices (sorry for any confusion) type Device { id: String device: String! } type Reading { …
hounded
  • 666
  • 10
  • 21
2
votes
1 answer

Chain observables to load dependent datas

I'm loading an employee in my resolver. This employee returns a list of town's ids. I want to load all the towns from this town's id list in the same resolver. But I don't want to return the list of town, I want to return the employee. The loaded…
Ben
  • 3,972
  • 8
  • 43
  • 82
2
votes
1 answer

Nginx Plus fails to resolve service using Docker embedded DNS server

I have an nginxplus container and a demo service running in docker swarm mode on windows 10. I am using endpoint-mode as dnsrr for the demo service so that nginx can use the docker DNS server as resolver for the demoservice. But I am getting an…
2
votes
1 answer

RxJS Pipe does not work in Angular Resolver (but works fine in ngOnInit)

we tried to add a RxJS pipe in our Angular Resolver: the resolver process starts but doesn't end, so we can't show the result in our html component. Otherwhise, everything works correctly if we move the pipe on the ngOnInit method of the main…
SDiver
  • 41
  • 1
  • 5