Skip to content

Conversation

@dffdff2423
Copy link
Contributor

It took me three hours to figure out how to implement a custom serializer correctly. I think I have figured it out. This is some docs to hopefully help anybody else who is looking at this down the line.

I have no idea what the difference between ITypeSerializer and ITypeReaderWriter is so I did not include any documentation on ITypeReaderWriter. ITypeReaderWriter is not used anywhere except as a parent of ITypeSeralizer.

@ElectroJr
Copy link
Member

ITypeReaderWriter is not used anywhere except as a parent of ITypeSeralizer.

It might be leftover from an older version of serialization code? Either way its probably fine to just remove seeing as it appears to be unused.

@dffdff2423 dffdff2423 changed the title Add documentation to the serializer interfaces Add documentation to the serializer interfaces and remove ITypeReaderWriter Apr 28, 2025
@dffdff2423 dffdff2423 requested a review from ElectroJr April 28, 2025 12:55
@dffdff2423 dffdff2423 force-pushed the serializationdocs branch from d319001 to 28da9d2 Compare May 2, 2025 17:40
@dffdff2423 dffdff2423 force-pushed the serializationdocs branch from 28da9d2 to 98dbe5e Compare May 2, 2025 17:41
@PJB3005 PJB3005 added A: Serialization T: Documentation Type: documentation change/update D3: Low Not impossible to figure out for newer coders, and simple for experienced ones. labels May 3, 2025
@dffdff2423 dffdff2423 requested a review from PJB3005 May 4, 2025 01:41
@PJB3005 PJB3005 merged commit 8905a3f into space-wizards:master May 4, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A: Serialization D3: Low Not impossible to figure out for newer coders, and simple for experienced ones. T: Documentation Type: documentation change/update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants