Skip to content

Front end needs way to know userId of user who just joined #10

@amanwaring

Description

@amanwaring

E.g. Phillip makes a new game, game object is returned. Since Phillip is the only person in the game object, we know phillip's id is the id of the only person in the game object. Then, Andrew joins and the game object is returned. The front end can filter on the person array by username (that's what I currently have it doing) but this won't work if people submit the same username. Either we need to enforce that username's can't be duplicated in a game, or the response for joining a game needs to specifically include the id of the new person

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions