Skip to content

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

Merged
anarchuser merged 4 commits intomasterfrom
refactor/xstream
Sep 24, 2020
Merged

refactor(protocol): make undeployedPieceShapes serialisation nicer (#294)#294
anarchuser merged 4 commits intomasterfrom
refactor/xstream

Conversation

@anarchuser
Copy link
Copy Markdown
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