Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

graphqlproperty annotation is being mixed and shuffled around with the java field in the request #19

Closed
gillpritpals opened this issue Jul 11, 2018 · 0 comments · Fixed by #20
Assignees
Labels
bug Something isn't working

Comments

@gillpritpals
Copy link

`@GraphQLProperty(name = "business")
public class MerchantFinancingLoanSearchBusiness {

String legalBusinessName;

@GraphQLProperty(name = "federalTaxId")
String tin;

@GraphQLProperty(name = "businessName")
String DBA;`

gives you:

business { DBA : businessNametin : federalTaxIdlegalBusinessName }

Here is the request builder

GraphQLRequestEntity requestEntity = GraphQLRequestEntity.Builder().headers(uriHeaders) .request(MerchantFinancingLoanSearchLoanAccounts.class) .arguments((new Arguments("findLoanAccounts", new Argument("start", Integer.parseInt(loanAccountsSearchRequest.getOffset())), new Argument("end", Integer.parseInt(loanAccountsSearchRequest.getLimit())), new Argument("criteria", criteriaInput)))) .url(configData.getProperty("loanAccountssearch.url", "")).build();

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants