Skip to content

refactor(protocol): make undeployedPieceShapes serialisation nicer (#294) #294

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

Merged
merged 4 commits into from
Sep 24, 2020

Conversation

anarchuser
Copy link
Contributor

@anarchuser anarchuser commented Sep 17, 2020

No description provided.

Since the amount of colors is known and constants, we can avoid using a
map altogether. This gives perfect null safety (because the
corresponding indices are just there) (except xstream fails to serialise
colors).
This, in turn, makes the resulting xml much nicer
@anarchuser anarchuser marked this pull request as ready for review September 24, 2020 10:12
@anarchuser anarchuser changed the title refactor(xstream): make the xstream serialisation light and nice refactor(protocol): make undeployedPieceShapes serialisation nicer (#294) Sep 24, 2020
@anarchuser anarchuser merged commit e528fd9 into master Sep 24, 2020
@anarchuser anarchuser deleted the refactor/xstream branch September 24, 2020 12:00
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

Successfully merging this pull request may close these issues.

2 participants