Questions tagged [resolver]
363 questions
4
votes
2 answers
GraphQL Resolver for getting item by name, not ID
I have a DynamoDB with ingredients. AWS Appsync created a resolver for me so I could get an ingredient by ID, but I need to be able to get an ingredient by name. I've tried writing a resolver for this but it doesn't work.
Eventually I need to…

Paxana Non Grata
- 379
- 1
- 7
- 23
4
votes
3 answers
python module import error
I am using macports to install various modules. Generally this works well, but below is an error I am getting that I am not easily resolving:
$ python
Python 2.6.6 (r266:84292, Feb 12 2011, 16:57:53)
[GCC 4.2.1 (Apple Inc. build 5664)] on…

galaxywatcher
- 821
- 1
- 10
- 15
4
votes
2 answers
Iterate over array of AWS cloudformation resources in template
When creating resources in AWS CloudFormation from a yml (or json) template, is it possible to iterated over an array to keep the template brief and readable. For example, I have an Appsync project where I have to create a bunch of almost identical…

honkskillet
- 3,007
- 6
- 31
- 47
4
votes
1 answer
Merging GraphQL Resolvers for Apollo Server not working with Object.assign()
I am modularizing my schema for a GraphQL API and trying to merge the resolvers without using any 3rd party libraries.
Is there a simple way to do this without Lodash.merge() or equivalent?
The Apollo Documentation says to use a library such as…

agm1984
- 15,500
- 6
- 89
- 113
4
votes
1 answer
Angular 2: Sibling child routes sharing same resolver
I am trying to figure out if there is a more optimize way in sharing the same resolver between two sibling children routes. Below is an example of how the routes are related with the resolvers.
import { CommonModule } from '@angular/common';
import…

PBandJ
- 2,537
- 3
- 21
- 31
4
votes
1 answer
Setting a key local.sbt so that it is applied in a multi-project
How do I set key in a local.sbt in such a way that every subproject finds it ?
I'm trying to use Coursier plugin in a multi project, but since I'm testing it, I'm trying not to check it in in our git repo.
So I put it in my project/local.sbt and I…

Edoardo Vacchi
- 1,284
- 10
- 18
4
votes
1 answer
AngularJS: $routeProvider when resolve $http returns response obj instead of my obj
I'm trying to resolve a couple ajax calls so that data my controller needs is available before it (and a directive it furnishes) execute. The order of execution is working, however, instead of returning the object I create, the result injected into…

Jakob Jingleheimer
- 30,952
- 27
- 76
- 126
4
votes
2 answers
File resolver in Jasper Reports 5.0.1
with 5.0.1 the REPORT_FILE_RESOLVER was deprecated and the sample implementations:
http://jasperreports.sourceforge.net/sample.reference/tableofcontents/index.html#fileresolver
state that it's highly recommended to switch to JasperReportsContext.
I…

sahel
- 396
- 3
- 11
3
votes
0 answers
How to use ValueResolver in another ValueResolver or chain ValueResolver with Symfony
I'm using Symfony 6.2 with php 8.1.
Since the update of SF 6.2 i had to remove SensioFrameworkExtraBundle and migrate my code from ParamConverter to new custom ValueResolver.
However, i'm facing a lack a feature from this migration or i miss…

Rady
- 51
- 3
3
votes
0 answers
AppSync vs Apollo GraphQL Performance
AWS makes a case to create a lambda resolver for AppSync that will perform different operations. Since a single query may result in calls to multiple operations, AppSync will invoke the lambda resolver multiple times. I think each invocation will…

Jaf
- 811
- 2
- 7
- 9
3
votes
1 answer
Is there a way to specify different DNS lookup for each request with okhttp?
I want to distribute requests by some parameters.
For example when using http DNS.
Is there a way to specify different DNS resolver for each request?
Thanks!

flyinmind
- 31
- 1
3
votes
0 answers
Why is AppSync resolver response template returning null when debugging shows results are there?
I have an AWS AppSync pipeline function. The request mapping template makes a Query request and it looks like this:
{
"version": "2018-05-29",
"operation": "Query",
"query": {
"expression": "#user = :user AND #datetimeUpdated <…

Fisu
- 3,294
- 9
- 39
- 61
3
votes
0 answers
Boost.Asio on iPad: resolver fails on a "fresh" 3G connection
I'm using Boost.Asio (Boost 1.46) on iOS(4.3), and I've got the following issue.
When trying to resolve a host name just after 3G connection is established (eg., switch "airplane mode" off and on), I get the following error: "Host not found…

Igor R.
- 14,716
- 2
- 49
- 83
3
votes
1 answer
Axon SpringBeanParameterResolverFactory with null applicationContext when instantiated from classpath loader
I have asked this question in the Axon google group 10 days ago, but have gotten no love so far. I'm beginning to wonder if maybe it's more suitable to ask here.
I am trying to inject a bean as parameter to a command handler, but can't figure out…

Bruno
- 85
- 1
- 10
3
votes
1 answer
Undefined method `deprecation_reason' for Resolvers
I'm defining a resolver for some fields, using the graphql gem for ruby.
This is the Resolver definition:
module Resolvers
class Events < BaseResolver
type [Types::EventType], null: true
argument :input, Types::EventInput, required:…

Matías Pizarro
- 57
- 1
- 5