Skip to content

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

Merged
Deadcows merged 1 commit intoDeadcows:masterfrom
jcs-PR:chore/rd
Apr 4, 2026
Merged

feat(Attributes): Don't enforce Odin inspector#278
Deadcows merged 1 commit intoDeadcows:masterfrom
jcs-PR:chore/rd

Conversation

@jcs090218
Copy link
Copy Markdown
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.

@Deadcows
Copy link
Copy Markdown
Owner

Deadcows commented Apr 4, 2026

Thank you! A valid point. I'll take your pr and will consider to make this conditional compilation optional👍🏻

@Deadcows Deadcows merged commit b3cbe94 into Deadcows:master Apr 4, 2026
@jcs090218 jcs090218 deleted the chore/rd branch April 4, 2026 09:56
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