Skip to content

Conversation

@mrxz
Copy link
Contributor

@mrxz mrxz commented Feb 27, 2024

Description:
The check preventing duplicate propertyTypes from being registered incorrectly tested the string literal "type" instead of the type argument.

Changes proposed:

  • Fix the duplicate check in registerPropertyType
  • Throw an error instead of logging an error (in line with registerComponent, registerSystem, etc...)

@dmarcos
Copy link
Member

dmarcos commented Feb 27, 2024

Thanks!

@dmarcos dmarcos merged commit 233a29c into aframevr:master Feb 27, 2024
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