Skip to content

Comments

RoomObject.print#211

Open
tiennou wants to merge 1 commit intobencbartlett:devfrom
tiennou:feature/roomobject-print
Open

RoomObject.print#211
tiennou wants to merge 1 commit intobencbartlett:devfrom
tiennou:feature/roomobject-print

Conversation

@tiennou
Copy link

@tiennou tiennou commented Feb 3, 2024

Pull request summary

Description:

This adds a RoomObject-level .print method, so that it's safe to print any sort of object. I believe it is missing a couple cases, but it covers most of them.

Testing checklist:

  • Changes are backward-compatible
  • Codebase compiles with current tsconfig configuration
  • Tested changes on private server

Copy link
Owner

@bencbartlett bencbartlett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments; please don't include changes to unrelated files in future pull requests, such as editorconfig, gitignore, toolversions, obfuscator, etc. Try to include only the changes which are relevant to the feature you are making the PR for

@tiennou tiennou force-pushed the feature/roomobject-print branch from 49825da to 31c5f9a Compare February 5, 2024 16:05
@tiennou
Copy link
Author

tiennou commented Feb 5, 2024

Tooling changes removed, and changed the typeguards to use explicit structural checks.

@tiennou tiennou force-pushed the feature/roomobject-print branch from 31c5f9a to 6cec66c Compare March 23, 2024 21:38
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