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

Fail on invalid attributes in rbx_binary deserializer #293

Conversation

kennethloeffler
Copy link
Member

Closes #292.

Not really sure about PropertyError for the error variant name, maybe there is a better way to phrase it?

@kennethloeffler kennethloeffler changed the title Fail on unknown attribute types in rbx_binary deserializer Fail on invalid attributes in rbx_binary deserializer Jun 21, 2023
@Dekkonot
Copy link
Member

We can definitely fold the other errors into BadPropertyValue after this is merged, but it feels low priority.

@Dekkonot Dekkonot merged commit e49fd8d into rojo-rbx:master Jun 24, 2023
2 checks passed
@kennethloeffler kennethloeffler deleted the rbx-binary-fail-on-unknown-attribute-type branch June 24, 2023 07:54
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.

rbx_binary should not continue parsing if it runs into unreadable attributes
2 participants