Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design a GraphQL schema for a user #36

Closed
Tracked by #33 ...
oliver-pham opened this issue Jan 16, 2022 · 2 comments · Fixed by #90
Closed
Tracked by #33 ...

Design a GraphQL schema for a user #36

oliver-pham opened this issue Jan 16, 2022 · 2 comments · Fixed by #90
Assignees
Labels
backend difficulty:easy Issue that takes 1 - 3 days feature Feature request priority:medium Issue to be done in the current sprint
Projects
Milestone

Comments

@oliver-pham
Copy link
Collaborator

oliver-pham commented Jan 16, 2022

For example, a user JSON object looks like this:

{
   "userId":{
      "$oid":"61e75f2cfc13ae336b000013"
   },
   "firstName":"Ernest",
   "lastName":"Lodemann",
   "email":"elodemannj@dion.ne.jp",
   "dob":{
      "$date":"2016-04-24T21:30:43.000Z"
   },
   "sex":"Female",
   "location":{
      "city":"Shatian",
      "province":"BC",
      "longitude":113.618216,
      "latitude":22.919769
   },
   "hobbies":[
      "Robot combat",
      "Origami",
      "Collecting"
   ],
   "preference":{
      "gender":"Gender Nonconforming",
      "distance":78,
      "minAge":15,
      "maxAge":6,
      "longTerm":false,
      "shortTerm":true
   },
   "avatar":{
      "origin":"http://dummyimage.com/210x100.png/cc0000/ffffff",
      "small":"http://dummyimage.com/205x100.png/5fa2dd/ffffff",
      "medium":"http://dummyimage.com/182x100.png/5fa2dd/ffffff",
      "large":"http://dummyimage.com/114x100.png/ff4444/ffffff"
   },
   "photo":[
      {
         "origin":"http://dummyimage.com/209x100.png/5fa2dd/ffffff",
         "small":"http://dummyimage.com/108x100.png/ff4444/ffffff",
         "medium":"http://dummyimage.com/238x100.png/5fa2dd/ffffff",
         "large":"http://dummyimage.com/172x100.png/ff4444/ffffff"
      },
      {
         "origin":"http://dummyimage.com/170x100.png/ff4444/ffffff",
         "small":"http://dummyimage.com/131x100.png/ff4444/ffffff",
         "medium":"http://dummyimage.com/116x100.png/cc0000/ffffff",
         "large":"http://dummyimage.com/224x100.png/dddddd/000000"
      },
      {
         "origin":"http://dummyimage.com/218x100.png/cc0000/ffffff",
         "small":"http://dummyimage.com/173x100.png/dddddd/000000",
         "medium":"http://dummyimage.com/240x100.png/5fa2dd/ffffff",
         "large":"http://dummyimage.com/222x100.png/ff4444/ffffff"
      },
      {
         "origin":"http://dummyimage.com/125x100.png/ff4444/ffffff",
         "small":"http://dummyimage.com/104x100.png/ff4444/ffffff",
         "medium":"http://dummyimage.com/139x100.png/dddddd/000000",
         "large":"http://dummyimage.com/115x100.png/dddddd/000000"
      },
      {
         "origin":"http://dummyimage.com/220x100.png/ff4444/ffffff",
         "small":"http://dummyimage.com/136x100.png/ff4444/ffffff",
         "medium":"http://dummyimage.com/245x100.png/ff4444/ffffff",
         "large":"http://dummyimage.com/132x100.png/5fa2dd/ffffff"
      }
   ],
   "bio":"harness magnetic web-readiness",
   "password":"olSBfI"
}
@oliver-pham
Copy link
Collaborator Author

Resolved in #78

@oliver-pham
Copy link
Collaborator Author

My mistake. We actually haven't implemented the full solution yet.

@oliver-pham oliver-pham reopened this Jan 26, 2022
@oliver-pham oliver-pham added backend difficulty:easy Issue that takes 1 - 3 days priority:medium Issue to be done in the current sprint feature Feature request labels Jan 26, 2022
@oliver-pham oliver-pham added this to Backlog in Seeksi via automation Jan 26, 2022
@oliver-pham oliver-pham added this to the Milestone 1 milestone Jan 26, 2022
@tuanthanh2067 tuanthanh2067 self-assigned this Jan 26, 2022
Seeksi automation moved this from Backlog to Done Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend difficulty:easy Issue that takes 1 - 3 days feature Feature request priority:medium Issue to be done in the current sprint
Projects
Seeksi
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants