Skip to content

feat(Attributes): Don't enforce Odin inspector#278

Open
jcs090218 wants to merge 1 commit intoDeadcows:masterfrom
jcs-PR:chore/rd
Open

feat(Attributes): Don't enforce Odin inspector#278
jcs090218 wants to merge 1 commit intoDeadcows:masterfrom
jcs-PR:chore/rd

Conversation

@jcs090218
Copy link
Contributor

I think opening this kind of PR is a bit unusual. I’m currently using both Odin and MyBox, and I sometimes switch between them by simply changing the namespace. However, the preprocessor #if ODIN_INSPECTOR prevents that from working smoothly.

[MyBox.ReadOnly(...)]  // Missing due to the preprocessor declaration.

// to

[Odin.ReadOnly(...)]

I understand the author is trying to make it compatible with Odin, but I think it might be better to simply let users decide which one they want to use.

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.

1 participant