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

refactor: make bevy_reflect optional (behind bevy-07 feature) #80

Merged
merged 2 commits into from Jul 16, 2022

Conversation

jcornaz
Copy link
Owner

@jcornaz jcornaz commented Jul 16, 2022

The dependency bevy_reflect is now optional (behind the bevy-07 feature).

I also removed the implementation of Reflect for the components that has been added eagerly without explicit need. And I am especially not enthusiast to implement Reflect without a very compelling reason, due to how many technical details are leaked by such implementation (which prevents changing the implementation without breaking API)

If you miss the Reflect implementation on benimator's components, you may open an issue. Please describe which component you'd need to implement Reflect and why.

@jcornaz jcornaz changed the title refactor: make bevy_reflect optional refactor: make bevy_reflect optional (behind bevy-07 feature) Jul 16, 2022
@jcornaz jcornaz enabled auto-merge (squash) July 16, 2022 19:17
@jcornaz jcornaz merged commit 2ace089 into alpha Jul 16, 2022
@jcornaz jcornaz deleted the make-reflect-optional branch July 16, 2022 19:19
jcornaz added a commit that referenced this pull request Jul 16, 2022
BREAKING CHANGE: Components no longer implement `Reflect` (see #80). It
may be re-introduced if requested.
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.

None yet

1 participant