[MGNLRESTCL-61] CLONE - Investigate leveraging GraphQL (schemas) Created: 16/Jul/19  Updated: 15/Aug/19  Resolved: 30/Jul/19

Status: Closed
Project: REST Client
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Mikaël Geljić Assignee: Dai Ha
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: 3h
Time Spent: 7d 1.5h
Original Estimate: Not Specified

Issue Links:
Cloners
clones MGNLRESTCL-57 Investigate leveraging OpenAPI schemas Closed
Relates
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Epic Link: Declarative REST clients
Sprint: Declarative REST 2
Story Points: 5

 Description   

Goal would be to avoid redefining all methods/params descriptions in the RestClientDefinition

Then question is for the consumer code, how would this look like?



 Comments   
Comment by Dai Ha [ 30/Jul/19 ]

magnolia-graphql module: https://git.magnolia-cms.com/users/dai.ha/repos/magnolia-graphql

Comment by Dai Ha [ 30/Jul/19 ]

GraphQL call with rest-client
https://git.magnolia-cms.com/users/dai.ha/repos/rest-client/compare/commits?sourceBranch=refs%2Fheads%2Fpoc%2FMGNLRESTCL-61-GraphQL-Client&targetBranch=refs%2Fheads%2Fmaster

Comment by Christopher Zimmermann [ 30/Jul/19 ]

Could you add here an example of the RestClient configuration based on GraphQL, and an example of what an actual request looks like for contacts? I dont see it in the above diff, but I think you showed both in your live demo.

Comment by Dai Ha [ 31/Jul/19 ]

I will add them to a completed set of guide, czimmermann

Generated at Mon Feb 12 10:42:49 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.