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

Card Categories are serialized as an Array #28

Closed
BrennanAyers opened this issue Sep 7, 2019 · 1 comment
Closed

Card Categories are serialized as an Array #28

BrennanAyers opened this issue Sep 7, 2019 · 1 comment
Assignees

Comments

@BrennanAyers
Copy link
Owner

BrennanAyers commented Sep 7, 2019

For the Frontend, to handle Single or Multiple categories, the Card attribute of category should be an Array of categorical (Action, Money, Victory) identifier strings.
We should store these in the DB as a String of comma separated values, which we then can serialize as an Array.

UPDATE

This has been set up correctly on the Player State endpoint, will need to be implemented on the Game State endpoint.

@DavisC0801
Copy link
Collaborator

Rolled into #34 and #49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants