Skip to content

Store the user's thumbnail image url in the database #83

Description

@danielemery

Summary

Allow retrieval of a user's thumbnail image in all relevant resolvers that deal with users.

Motivation

In #81 a new activity feed resolver is being created. It would be nice include thumbnail urls for related users in the response.

This would allow a more visually pleasing design in danielemery/quizlord-client#46

Implementation

This will involve:

  • A new migration to hold the thumbnail url in the user table
  • A modification to the "update on login" script that is currently being used to set the name in the database the first time the user logs
  • Updates to graphql schemas and supporting service layers to return the thumbnail images

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions